summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-directory.c3
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. */