[PATCH] Always unref file in got_file_info_for_view_selection_callback



The attached patch adds a missing nautilus_file_unref() call in
got_file_info_for_view_selection_callback(). The new code path was
introduced during the gio merge.

-- 
Christian Neumair <cneumair gnome org>
Index: src/nautilus-window-manage-views.c
===================================================================
--- src/nautilus-window-manage-views.c	(Revision 13797)
+++ src/nautilus-window-manage-views.c	(Arbeitskopie)
@@ -973,7 +973,9 @@ got_file_info_for_view_selection_callbac
 					       mount_not_mounted_callback, data);
 		g_object_unref (location);
 		g_object_unref (mount_op);
-		
+
+		nautilus_file_unref (file);
+
 		return;
 	}
 	


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]