Merge lp:~rodrigo-moya/ubuntuone-client/no-enabling-on-special-udfs into lp:ubuntuone-client
Proposed by
Rodrigo Moya
Status: | Merged |
---|---|
Approved by: | Tim Cole |
Approved revision: | 585 |
Merged at revision: | 587 |
Proposed branch: | lp:~rodrigo-moya/ubuntuone-client/no-enabling-on-special-udfs |
Merge into: | lp:ubuntuone-client |
Diff against target: |
143 lines (+69/-33) 2 files modified
.bzrignore (+3/-0) nautilus/location-widget.c (+66/-33) |
To merge this branch: | bzr merge lp:~rodrigo-moya/ubuntuone-client/no-enabling-on-special-udfs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Cole (community) | Approve | ||
Chad Miller (community) | Approve | ||
Review via email: mp+30082@code.launchpad.net |
Commit message
Don't allow enabling/disabling on special UDFs from Nautilus
Description of the change
Don't allow enabling/disabling on special UDFs from Nautilus
To post a comment you must log in.
51 + tmp = g_build_filename (g_get_home_dir (), special_udfs[i], NULL);
52 + if (g_str_has_prefix (path, tmp))
53 + return TRUE;
54 +
55 + g_free (tmp);
56 + }
This is a memory leak.
ret = FALSE;
...
if
ret = TRUE;
break;
free;
return ret;