nautilus r13612 - in trunk: . src



Author: alexl
Date: Wed Jan 16 11:36:54 2008
New Revision: 13612
URL: http://svn.gnome.org/viewvc/nautilus?rev=13612&view=rev

Log:
2008-01-16  Alexander Larsson  <alexl redhat com>

        * src/nautilus-application.c:
        (find_parent_spatial_window):
	unref, not free the GFile.
	Fixes crash in close parent windows (#509821)



Modified:
   trunk/ChangeLog
   trunk/src/nautilus-application.c

Modified: trunk/src/nautilus-application.c
==============================================================================
--- trunk/src/nautilus-application.c	(original)
+++ trunk/src/nautilus-application.c	Wed Jan 16 11:36:54 2008
@@ -897,7 +897,7 @@
 		return NULL;
 	}
 	file = nautilus_file_get (location);
-	g_free (location);
+	g_object_unref (location);
 
 	if (!file) {
 		return NULL;



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