summaryrefslogtreecommitdiff
path: root/gio/gemblemedicon.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-02-27 18:19:05 +0000
committerDavid Zeuthen <davidz@src.gnome.org>2009-02-27 18:19:05 +0000
commite38e6aafe0d5549f38a50a01d1e194e2a952063c (patch)
tree3af7a7e7fa4309dcb8c319d012edd10eea53be17 /gio/gemblemedicon.c
parentb3cb7caf7dad98bace12767f2207e5b89b6d8767 (diff)
Bug 540461 – GEmblemedIcon leak
2009-02-27 David Zeuthen <davidz@redhat.com> Bug 540461 – GEmblemedIcon leak * gemblemedicon.c (g_emblemed_icon_finalize): Avoid leaking a GList. svn path=/trunk/; revision=7920
Diffstat (limited to 'gio/gemblemedicon.c')
-rw-r--r--gio/gemblemedicon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gemblemedicon.c b/gio/gemblemedicon.c
index 0fd221c5a..abfcf0c32 100644
--- a/gio/gemblemedicon.c
+++ b/gio/gemblemedicon.c
@@ -76,6 +76,7 @@ g_emblemed_icon_finalize (GObject *object)
g_object_unref (emblemed->icon);
g_list_foreach (emblemed->emblems, (GFunc) g_object_unref, NULL);
+ g_list_free (emblemed->emblems);
(*G_OBJECT_CLASS (g_emblemed_icon_parent_class)->finalize) (object);
}