mirror of https://github.com/GNOME/gimp.git
plug-ins: Fix double free crash in file-heif
Resolves #11980
In 443947c6
, the now unnecessary g_free (drawables) was
removed from heif_av1_export (). However, it was accidentally
left in heif_export (). This patch removes it to prevent a crash
from double freeing the drawables list.
This commit is contained in:
parent
8beba7f5fc
commit
cfcdb1e7bf
|
@ -557,10 +557,7 @@ heif_export (GimpProcedure *procedure,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (export == GIMP_EXPORT_EXPORT)
|
if (export == GIMP_EXPORT_EXPORT)
|
||||||
{
|
gimp_image_delete (image);
|
||||||
gimp_image_delete (image);
|
|
||||||
g_free (drawables);
|
|
||||||
}
|
|
||||||
|
|
||||||
g_list_free (drawables);
|
g_list_free (drawables);
|
||||||
return gimp_procedure_new_return_values (procedure, status, error);
|
return gimp_procedure_new_return_values (procedure, status, error);
|
||||||
|
|
Loading…
Reference in New Issue