mirror of https://github.com/GNOME/gimp.git
plug-ins: screenshot: unref the GDBusProxy when done
This commit is contained in:
parent
9a2c9420c4
commit
4a45ffeef9
|
@ -137,10 +137,16 @@ screenshot_gnome_shell_shoot (ScreenshotValues *shootvals,
|
|||
g_unlink (filename);
|
||||
g_free (filename);
|
||||
|
||||
g_object_unref (proxy);
|
||||
proxy = NULL;
|
||||
|
||||
return GIMP_PDB_SUCCESS;
|
||||
}
|
||||
|
||||
g_free (filename);
|
||||
|
||||
g_object_unref (proxy);
|
||||
proxy = NULL;
|
||||
|
||||
return GIMP_PDB_EXECUTION_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue