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

Fix memory leak

parent 84fef9e9
......@@ -131,6 +131,7 @@ gdk_pixbuf__svg_image_load_increment (gpointer data,
}
if (!rsvg_handle_write (context->handle, buf, size, error)) {
g_clear_pointer(error, g_error_free);
rsvg_propagate_error (error, _("Error writing"), ERROR_WRITING);
return FALSE;
}
......
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