(#405): Oops, free an error properly.

#405
parent 292ce5fe
Pipeline #52378 passed with stages
in 26 minutes and 39 seconds
......@@ -133,7 +133,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);
g_clear_error(error);
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