summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcaja-private/caja-directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c
index 8b315e00..1bb1518b 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -923,7 +923,6 @@ caja_directory_notify_files_added (GList *files)
* If it was renamed this could be ignored, but
* queue a change just in case */
caja_file_changed (file);
- caja_file_unref (file);
}
else
{
@@ -931,6 +930,7 @@ caja_directory_notify_files_added (GList *files)
directory,
g_object_ref (location));
}
+ caja_file_unref (file);
caja_directory_unref (directory);
}