Merge pull request #14 from czarkoff/png14
Replaced remaining instance of png_infopp_NULL
This commit is contained in:
commit
b19987eb6a
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ out:
|
||||||
if (info_ptr)
|
if (info_ptr)
|
||||||
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
|
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
|
||||||
else
|
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)
|
if (infile)
|
||||||
fclose(infile);
|
fclose(infile);
|
||||||
|
|
Loading…
Reference in a new issue