[libpng14] Removed png_free() of unused png_ptr->current_text from pngread.c.

This commit is contained in:
Glenn Randers-Pehrson 2012-02-27 08:05:51 -06:00
parent 9bae3aa102
commit 3c44261b44
3 changed files with 2 additions and 6 deletions

View File

@ -39,6 +39,7 @@ version 1.4.10beta01 [February 27, 2011]
the string terminators (Franke Busse).
version 1.4.10beta02 [February 27, 2012]
Removed the png_free() of unused png_ptr->current_text from pngread.c.
Send comments/corrections/commendations to glennrp at users.sourceforge.net
or to png-mng-implement at lists.sf.net (subscription required; visit

View File

@ -2853,6 +2853,7 @@ version 1.4.10beta01 [February 27, 2011]
the string terminators (Franke Busse).
version 1.4.10beta02 [February 27, 2012]
Removed the png_free() of unused png_ptr->current_text from pngread.c.
Send comments/corrections/commendations to glennrp at users.sourceforge.net
or to png-mng-implement at lists.sf.net (subscription required; visit

View File

@ -1133,12 +1133,6 @@ png_read_destroy(png_structp png_ptr, png_infop info_ptr,
png_free(png_ptr, png_ptr->save_buffer);
#endif
#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
#ifdef PNG_TEXT_SUPPORTED
png_free(png_ptr, png_ptr->current_text);
#endif /* PNG_TEXT_SUPPORTED */
#endif /* PNG_PROGRESSIVE_READ_SUPPORTED */
/* Save the important info out of the png_struct, in case it is
* being used again.
*/