diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index 397ba2f3b8..cda1e9976d 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -667,6 +667,7 @@ ensure_stated_surface_from_info (GtkIconHelper *self, (gdk_pixbuf_get_width (destination) + scale - 1) / scale; self->priv->rendered_surface_height = (gdk_pixbuf_get_height (destination) + scale - 1) / scale; + g_object_unref (destination); } self->priv->rendered_surface = surface;