Commit ab351259 authored by Pavel Vasin's avatar Pavel Vasin Committed by Cosimo Cecchi
Browse files

file-utilities: fix GList leak

https://bugzilla.gnome.org/show_bug.cgi?id=682603
parent 60217c64
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment