From 1ed0b3f7caee09e208080c1cdb5ff8c18d155593 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 25 Jul 2017 15:32:19 -0500 Subject: [PATCH] [libpng16] Fixed typo in example.c (png_free_image should be png_image_free) (Bug report by John Smith) --- ANNOUNCE | 20 ++++++++++++-------- CHANGES | 4 ++++ example.c | 4 ++-- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index b5e1dbe29..847c1ba30 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -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 diff --git a/CHANGES b/CHANGES index d2a6b9b27..1c724e923 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/example.c b/example.c index a71000fa0..99d2f054a 100644 --- a/example.c +++ b/example.c @@ -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);