mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1542829 - Backport an upstream libpng patch. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D26575 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f19457b73f
commit
0ae7b79a49
@ -4598,8 +4598,7 @@ png_image_free(png_imagep image)
|
|||||||
if (image != NULL && image->opaque != NULL &&
|
if (image != NULL && image->opaque != NULL &&
|
||||||
image->opaque->error_buf == NULL)
|
image->opaque->error_buf == NULL)
|
||||||
{
|
{
|
||||||
/* Ignore errors here: */
|
png_image_free_function(image);
|
||||||
(void)png_safe_execute(image, png_image_free_function, image);
|
|
||||||
image->opaque = NULL;
|
image->opaque = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user