[libpng16] Fixed typo in example.c (png_free_image should be png_image_free)

(Bug report by John Smith)
This commit is contained in:
Glenn Randers-Pehrson 2017-07-25 15:32:19 -05:00
parent a354e5c1ff
commit 1ed0b3f7ca
3 changed files with 18 additions and 10 deletions

View File

@ -1,4 +1,4 @@
Libpng 1.6.31rc01 - July 19, 2017
Libpng 1.6.31rc02 - July 25, 2017
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@ -8,20 +8,20 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a
"configure" script
1.6.31rc01.tar.xz (LZMA-compressed, recommended)
1.6.31rc01.tar.gz
1.6.31rc02.tar.xz (LZMA-compressed, recommended)
1.6.31rc02.tar.gz
Source files with CRLF line endings (for Windows), without the
"configure" script
lp1631r01.7z (LZMA-compressed, recommended)
lp1631r01.zip
lp1631r02.7z (LZMA-compressed, recommended)
lp1631r02.zip
Other information:
1.6.31rc01-README.txt
1.6.31rc01-LICENSE.txt
libpng-1.6.31rc01-*.asc (armored detached GPG signatures)
1.6.31rc02-README.txt
1.6.31rc02-LICENSE.txt
libpng-1.6.31rc02-*.asc (armored detached GPG signatures)
Changes since the last public release (1.6.30):
@ -71,6 +71,10 @@ Version 1.6.31beta07 [July 18, 2017]
Version 1.6.31rc01 [July 19, 2017]
No changes.
Version 1.6.31rc02 [July 25, 2017]
Fixed typo in example.c (png_free_image should be png_image_free) (Bug
report by John Smith)
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -5901,6 +5901,10 @@ Version 1.6.31beta07 [July 18, 2017]
Version 1.6.31rc01 [July 19, 2017]
No changes.
Version 1.6.31rc02 [July 25, 2017]
Fixed typo in example.c (png_free_image should be png_image_free) (Bug
report by John Smith)
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -114,13 +114,13 @@ int main(int argc, const char **argv)
else
{
/* Calling png_free_image is optional unless the simplified API was
/* Calling png_image_free is optional unless the simplified API was
* not run to completion. In this case if there wasn't enough
* memory for 'buffer' we didn't complete the read, so we must free
* the image:
*/
if (buffer == NULL)
png_free_image(&image);
png_image_free(&image);
else
free(buffer);