mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Eliminated png_info_destroy. It is now used only in png.c
and only calls one other internal function and memset.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
5a956a7a58
commit
df477e4652
@@ -710,10 +710,6 @@ PNG_EXTERN PNG_FUNCTION(png_structp,png_create_png_struct,
|
||||
/* Free memory from internal libpng struct */
|
||||
PNG_EXTERN void png_destroy_png_struct PNGARG((png_structp png_ptr));
|
||||
|
||||
/* Free any memory that info_ptr points to and reset struct. */
|
||||
PNG_EXTERN void png_info_destroy PNGARG((png_const_structp png_ptr,
|
||||
png_infop info_ptr));
|
||||
|
||||
/* Free an allocated jmp_buf (always succeeds) */
|
||||
PNG_EXTERN void png_free_jmpbuf PNGARG((png_structp png_ptr));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user