-
Michael Natterer authored
Set the libpng error_fn to NULL *after* png_read_end() not before. png_read_end() can throw errors and we recover what's partially loaded from an image in the error handler. (cherry picked from commit db08271d)
738bf712
Set the libpng error_fn to NULL *after* png_read_end() not before. png_read_end() can throw errors and we recover what's partially loaded from an image in the error handler. (cherry picked from commit db08271d)