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
This commit is contained in:
David Zeuthen 2009-02-27 18:19:05 +00:00 committed by David Zeuthen
parent b3cb7caf7d
commit e38e6aafe0
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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:

View File

@ -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);
}