mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
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:
parent
b3cb7caf7d
commit
e38e6aafe0
@ -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:
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user