GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit a7d57b62 authored by Christian Dywan's avatar Christian Dywan

Remove the destination file if trying to save a pixbuf failed

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
parent f8f35363
......@@ -2057,6 +2057,7 @@ gdk_pixbuf_savev (GdkPixbuf *pixbuf,
if (!result) {
g_return_val_if_fail (error == NULL || *error != NULL, FALSE);
fclose (f);
g_unlink (filename);
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