Replaced remaining instance of png_infopp_NULL

This commit is contained in:
Dmitrij D. Czarkoff 2016-08-11 01:21:45 +02:00
parent e6e8c381bb
commit 894e8c8b2d

View file

@ -286,7 +286,7 @@ out:
if (info_ptr)
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
else
png_destroy_read_struct(&png_ptr, png_infopp_NULL, (png_infopp)NULL);
png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL);
}
if (infile)
fclose(infile);