Commit e38e6aaf authored by David Zeuthen's avatar David Zeuthen Committed by David Zeuthen

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
parent b3cb7caf
2009-02-27 David Zeuthen <davidz@redhat.com>
Bug 540461 – GEmblemedIcon leak
* gemblemedicon.c (g_emblemed_icon_finalize):
Avoid leaking a GList.
2009-02-27 Alexander Larsson <alexl@redhat.com>
* giomodule-priv.h:
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment