diff options
author | Benjamin Otte <otte@redhat.com> | 2018-07-04 14:40:00 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-07-04 15:04:04 +0200 |
commit | 93c545579666b401a63b858f631d792aee7191dc (patch) | |
tree | 798e275c5737a7e8eb4e75943973405efb11bcde | |
parent | e665667bff833a7e28156e68902b0ccf4f620609 (diff) | |
download | gtk+-93c545579666b401a63b858f631d792aee7191dc.tar.gz |
iconhelper: Plug memleak
-rw-r--r-- | gtk/gtkiconhelper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index 502907e5fd..1c696a0d47 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -123,6 +123,8 @@ ensure_paintable_for_gicon (GtkIconHelper *self, *symbolic = gtk_icon_info_is_symbolic (info); paintable = GDK_PAINTABLE (gtk_icon_info_load_texture (info)); + g_object_unref (info); + if (paintable && scale != 1) { GdkPaintable *orig = paintable; |