# HG changeset patch # User serb # Date 1554932593 25200 # Node ID 107c8ea4f7c88f11a473c1b96c685bf8dfdfc2f5 # Parent 0c143aaa2c99739458b1bdc38955a3ec891db1c8 8218876: Improve PNG support options Reviewed-by: prr, rhalade, mschoene diff -r 0c143aaa2c99 -r 107c8ea4f7c8 src/java.desktop/share/native/libsplashscreen/libpng/png.c --- 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; } }