src/java.desktop/share/native/libsplashscreen/libpng/png.c
changeset 55712 107c8ea4f7c8
parent 51304 66d9993dd4ad
child 57618 53154e45385a
equal deleted inserted replaced
55711:0c143aaa2c99 55712:107c8ea4f7c8
  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 */