-
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.
db08271d
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.