Commit 7bf10147 authored by Benedikt Heine's avatar Benedikt Heine

Fix memory leak in handle

parent 7b4cc9bb
......@@ -154,8 +154,11 @@ gdk_pixbuf__svg_image_stop_load (gpointer data, GError **error)
return FALSE;
if (!rsvg_handle_close (context->handle, error))
if (!rsvg_handle_close (context->handle, error)) {
g_object_unref (context->handle);
g_free (context);
return FALSE;
pixbuf = rsvg_handle_get_pixbuf (context->handle);
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