提交 5408b613 编写于 作者: G Glenn Randers-Pehrson

[libpng16] Removed unused "current_text" members of png_struct

and the png_free() of png_ptr->current_text from pngread.c
上级 b7e32059
...@@ -235,6 +235,8 @@ Version 1.6.0beta14 [February 27, 2012] ...@@ -235,6 +235,8 @@ Version 1.6.0beta14 [February 27, 2012]
Updated Makefile.in Updated Makefile.in
Version 1.6.0beta15 [February 27, 2012] Version 1.6.0beta15 [February 27, 2012]
Removed unused "current_text" members of png_struct and the png_free()
of png_ptr->current_text from pngread.c
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
......
...@@ -3987,6 +3987,8 @@ Version 1.6.0beta14 [February 27, 2012] ...@@ -3987,6 +3987,8 @@ Version 1.6.0beta14 [February 27, 2012]
Updated Makefile.in Updated Makefile.in
Version 1.6.0beta15 [February 27, 2012] Version 1.6.0beta15 [February 27, 2012]
Removed unused "current_text" members of png_struct and the png_free()
of png_ptr->current_text from pngread.c
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
......
...@@ -911,12 +911,6 @@ png_read_destroy(png_structrp png_ptr) ...@@ -911,12 +911,6 @@ png_read_destroy(png_structrp png_ptr)
png_free(png_ptr, png_ptr->save_buffer); png_free(png_ptr, png_ptr->save_buffer);
#endif #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 */
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED #ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
png_free(png_ptr, png_ptr->unknown_chunk.data); png_free(png_ptr, png_ptr->unknown_chunk.data);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册