[PATCH] Icons leak their display_name
- From: Martin Wehner <martin wehner epost de>
- To: nautilus-list gnome org
- Subject: [PATCH] Icons leak their display_name
- Date: Tue, 20 Apr 2004 12:26:36 +0200
nautilus_icon_factory leaks display_name.
Martin
Index: libnautilus-private/nautilus-icon-factory.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-factory.c,v
retrieving revision 1.304
diff -u -p -r1.304 nautilus-icon-factory.c
--- libnautilus-private/nautilus-icon-factory.c 1 Apr 2004 17:05:27 -0000 1.304
+++ libnautilus-private/nautilus-icon-factory.c 20 Apr 2004 10:18:23 -0000
@@ -505,6 +505,8 @@ cache_icon_unref (CacheIcon *icon)
check_recently_used_list ();
g_object_unref (icon->pixbuf);
+
+ g_free (icon->display_name);
g_free (icon->embedded_text_rect);
g_free (icon->attach_points);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]