diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2012-02-27 08:07:55 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2012-02-27 08:07:55 -0600 |
commit | caae038b696e659ae9501dbdf40b88a8652dc49a (patch) | |
tree | cb5474978ecb1cba9281231a7795909be98139e2 /pngread.c | |
parent | c11a25973c20a29190b8543e19831b2db2b4e596 (diff) | |
download | libpng-caae038b696e659ae9501dbdf40b88a8652dc49a.tar.gz |
[libpng15] Removed unused "current_text" members of png_struct
and the png_free() of png_ptr->current_text from pngread.c
Diffstat (limited to 'pngread.c')
-rw-r--r-- | pngread.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,8 +1,8 @@ /* pngread.c - read a PNG file * - * Last changed in libpng 1.5.7 [December 15, 2011] - * Copyright (c) 1998-2011 Glenn Randers-Pehrson + * Last changed in libpng 1.5.10 [(PENDING RELEASE)] + * Copyright (c) 1998-2012 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * @@ -1066,12 +1066,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. */ |