[nautilus] file-utilities: fix GList leak
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-utilities: fix GList leak
- Date: Fri, 24 Aug 2012 16:44:22 +0000 (UTC)
commit ab3512597bd98ec48f4a2cf15b17d20baeb1c25c
Author: Pavel Vasin <rat4vier gmail com>
Date: Fri Aug 24 11:53:41 2012 +0400
file-utilities: fix GList leak
https://bugzilla.gnome.org/show_bug.cgi?id=682603
libnautilus-private/nautilus-file-utilities.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-utilities.c b/libnautilus-private/nautilus-file-utilities.c
index 098f0e2..22ccd00 100644
--- a/libnautilus-private/nautilus-file-utilities.c
+++ b/libnautilus-private/nautilus-file-utilities.c
@@ -821,7 +821,7 @@ nautilus_trashed_files_get_original_directories (GList *files,
if (directories == NULL) {
directories = g_hash_table_new_full (g_direct_hash, g_direct_equal,
(GDestroyNotify) nautilus_file_unref,
- (GDestroyNotify) nautilus_file_list_unref);
+ (GDestroyNotify) nautilus_file_list_free);
}
nautilus_file_ref (original_dir);
m = g_hash_table_lookup (directories, original_dir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]