[master] Fixed an incorrect #ifdef in pngwrite.c

This commit is contained in:
Glenn Randers-Pehrson 2010-02-06 10:44:22 -06:00
parent c10066205d
commit f3c42680db

View File

@ -939,7 +939,7 @@ png_destroy_write_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)
{
png_free_data(png_ptr, info_ptr, PNG_FREE_ALL, -1);
#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
if (png_ptr->num_chunk_list)
{
png_free(png_ptr, png_ptr->chunk_list);