Commit 4a45ffee authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: screenshot: unref the GDBusProxy when done

parent 9a2c9420
......@@ -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;
}
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