Fix for a leak in fm-list-view.c



I posted this patch in bugzilla as well:
http://bugzilla.gnome.org/show_bug.cgi?id=313094

Cheers
Kjartan


Index: src/file-manager/fm-list-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-list-view.c,v
retrieving revision 1.255
diff -u -p -r1.255 fm-list-view.c
--- src/file-manager/fm-list-view.c	3 Aug 2005 11:28:59 -0000	1.255
+++ src/file-manager/fm-list-view.c	10 Aug 2005 11:06:27 -0000
@@ -1293,6 +1293,7 @@ filename_cell_data_func (GtkTreeViewColu
 		      "text", text,
 		      "underline", underline,
 		      NULL);
+	g_free (text);
 }
 
 static void


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