Commit b27f3ff4 authored by Michael Natterer's avatar Michael Natterer 😴

app: don't leak the passed file in file_open_dialog_show()

That ref should have been removed in commit ff6ea695.
parent 88ff45eb
......@@ -587,9 +587,6 @@ file_open_dialog_show (Gimp *gimp,
NULL /*ui_manager*/,
"gimp-file-open-dialog", -1, FALSE);
if (file)
g_object_ref (file);
if (dialog)
if (! file && image)
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