diff options
author | Darin Adler <darin@src.gnome.org> | 2000-09-26 19:07:45 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-09-26 19:07:45 +0000 |
commit | cfe2dc48fd02ce1a6d4a054f6883bd5762bc8432 (patch) | |
tree | 8aaf274f9b33bac87dbf2db26418b051eed4309d /libnautilus-extensions/nautilus-directory.c | |
parent | ec54fa8b4df561b2e3739fe597567ce5d279174e (diff) | |
download | nautilus-cfe2dc48fd02ce1a6d4a054f6883bd5762bc8432.tar.gz |
Got leaks in "nautilus --check" down to 0.
Fixed bug 2488 (path name for link set determined incorrectly) by
using only paths for link sets, never URIs.
* tools/leak-checker/nautilus-leak-checker.c: Added more "known to
leak" symbols.
* libnautilus-extensions/nautilus-link-set.c: (create_new_link),
(nautilus_link_set_is_installed), (nautilus_link_set_remove):
Changed functions to always expect paths, so they can now use
nautilus_make_path instead of link_set_path_name.
* src/nautilus-sidebar.c: (metadata_button_callback): Changed to
turn the URI into a path before calling the link-set functions.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_moved): Use
nautilus_file_list_free instead of
nautilus_g_list_free_deep_custom.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_clear): Use nautilus_g_list_free_deep
instead of nautilus_g_list_free_deep_custom.
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_free_callback),
(nautilus_view_identifier_list_free): Fixed call to
nautilus_g_list_free_deep_custom so it doesn't need a function
pointer type cast any more.
Diffstat (limited to 'libnautilus-extensions/nautilus-directory.c')
-rw-r--r-- | libnautilus-extensions/nautilus-directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-directory.c b/libnautilus-extensions/nautilus-directory.c index bb002c777..7741c5df6 100644 --- a/libnautilus-extensions/nautilus-directory.c +++ b/libnautilus-extensions/nautilus-directory.c @@ -767,7 +767,7 @@ nautilus_directory_notify_files_moved (GList *uri_pairs) g_hash_table_destroy (added_lists); /* Let the file objects go. */ - nautilus_g_list_free_deep_custom (unref_list, (GFunc) nautilus_file_unref, NULL); + nautilus_file_list_free (unref_list); /* Separate handling for brand new file objects. */ nautilus_directory_notify_files_added (new_files_list); |