Commit a547cc09 authored by Michael Natterer's avatar Michael Natterer 😴

app: don't leak GimpViewRendererImagefile's GtkIconInfo

parent f39399c9
......@@ -175,7 +175,11 @@ gimp_view_renderer_imagefile_get_icon (GimpImagefile *imagefile,
info = gtk_icon_theme_lookup_by_gicon (icon_theme, icon, size, 0);
if (info)
pixbuf = gtk_icon_info_load_icon (info, NULL);
{
pixbuf = gtk_icon_info_load_icon (info, NULL);
gtk_icon_info_free (info);
}
}
}
......
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