plug-ins: return value of gimp_procedure_config_begin_export() freed…

… twice.
It should not be freed by the caller since it is annotated as (transfer
none). It gets freed when calling gimp_procedure_config_end_export().
Thanks to Massimo for noticing.
This commit is contained in:
Jehan 2020-01-03 19:53:54 +01:00
parent 109ad86db2
commit 189da39805
1 changed files with 0 additions and 3 deletions

View File

@ -376,8 +376,5 @@ webp_save (GimpProcedure *procedure,
if (export == GIMP_EXPORT_EXPORT)
gimp_image_delete (image);
if (metadata)
g_object_unref (metadata);
return gimp_procedure_new_return_values (procedure, status, error);
}