src/java.desktop/share/native/libsplashscreen/libpng/png.c
changeset 55712 107c8ea4f7c8
parent 51304 66d9993dd4ad
child 57618 53154e45385a
--- a/src/java.desktop/share/native/libsplashscreen/libpng/png.c	Wed Apr 10 15:49:24 2019 +0100
+++ 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;
    }
 }