diff options
author | Christian Neumair <chris@gnome-de.org> | 2006-02-26 17:02:01 +0000 |
---|---|---|
committer | Christian Neumair <cneumair@src.gnome.org> | 2006-02-26 17:02:01 +0000 |
commit | 7d186d5b254eef5350ba8a7d6d6ef5dca299941c (patch) | |
tree | b8799a1189440f63671dfe545a3443e869a025f2 /libnautilus-private | |
parent | 28a50c0b21f7751cd5f87e533effa82ddaae505d (diff) | |
download | nautilus-7d186d5b254eef5350ba8a7d6d6ef5dca299941c.tar.gz |
Plug potential leak.
2006-02-26 Christian Neumair <chris@gnome-de.org>
* libnautilus-private/nautilus-directory.c:
(nautilus_directory_notify_files_removed):
Plug potential leak.
Diffstat (limited to 'libnautilus-private')
-rw-r--r-- | libnautilus-private/nautilus-directory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-directory.c b/libnautilus-private/nautilus-directory.c index c31b345ca..d49ceeb8a 100644 --- a/libnautilus-private/nautilus-directory.c +++ b/libnautilus-private/nautilus-directory.c @@ -1086,8 +1086,9 @@ nautilus_directory_notify_files_removed (GList *uris) nautilus_file_mark_gone (file); hash_table_list_prepend (changed_lists, file->details->directory, - file); + nautilus_file_ref (file)); } + nautilus_file_unref (file); } /* Now send out the changed signals. */ |