changeset 53463:7ad032cf6612

8218876: Improve PNG support options Reviewed-by: prr, rhalade, mschoene
author serb
date Wed, 10 Apr 2019 14:43:13 -0700
parents 96bf85c704b6
children a762d95604c8
files src/java.desktop/share/native/libsplashscreen/libpng/png.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/native/libsplashscreen/libpng/png.c	Wed Apr 10 15:32:36 2019 -0700
+++ b/src/java.desktop/share/native/libsplashscreen/libpng/png.c	Wed Apr 10 14:43:13 2019 -0700
@@ -4622,8 +4622,7 @@
    if (image != NULL && image->opaque != NULL &&
       image->opaque->error_buf == NULL)
    {
-      /* Ignore errors here: */
-      (void)png_safe_execute(image, png_image_free_function, image);
+      png_image_free_function(image);
       image->opaque = NULL;
    }
 }