equal
deleted
inserted
replaced
4620 * png_safe_execute will call this API after the return. |
4620 * png_safe_execute will call this API after the return. |
4621 */ |
4621 */ |
4622 if (image != NULL && image->opaque != NULL && |
4622 if (image != NULL && image->opaque != NULL && |
4623 image->opaque->error_buf == NULL) |
4623 image->opaque->error_buf == NULL) |
4624 { |
4624 { |
4625 /* Ignore errors here: */ |
4625 png_image_free_function(image); |
4626 (void)png_safe_execute(image, png_image_free_function, image); |
|
4627 image->opaque = NULL; |
4626 image->opaque = NULL; |
4628 } |
4627 } |
4629 } |
4628 } |
4630 |
4629 |
4631 int /* PRIVATE */ |
4630 int /* PRIVATE */ |