mirror of https://github.com/GNOME/gimp.git
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:
parent
109ad86db2
commit
189da39805
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue