diff --git a/ANNOUNCE b/ANNOUNCE index adad5bed..c0757cbe 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -56,6 +56,7 @@ version 1.2.48beta01 [Febuary 27, 2012] the string terminators (Franke Busse). version 1.2.48beta02 [February 27, 2012] + Removed the png_free() of unused png_ptr->current_text from pngread.c. (subscription required; visit https://lists.sourceforge.net/lists/listinfo/png-mng-implement diff --git a/CHANGES b/CHANGES index f1960ecd..c39cb48c 100644 --- a/CHANGES +++ b/CHANGES @@ -2760,6 +2760,7 @@ version 1.2.48beta01 [February 27, 2012] the string terminators (Franke Busse). version 1.2.48beta02 [February 27, 2012] + Removed the png_free() of unused png_ptr->current_text from pngread.c. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngread.c b/pngread.c index 8b7fdb08..c2d89431 100644 --- a/pngread.c +++ b/pngread.c @@ -1300,12 +1300,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. */