[libpng12] Fix cut-and-paste error (delete one line) in pngpread.c

This commit is contained in:
Glenn Randers-Pehrson 2016-06-03 21:42:31 -05:00
parent 01a1fd6ea5
commit 174724800c

View File

@ -692,7 +692,6 @@ png_push_save_buffer(png_structp png_ptr)
png_ptr->save_buffer_size);
else if (png_ptr->save_buffer_size)
png_error(png_ptr, "save_buffer error");
png_memcpy(png_ptr->save_buffer, old_buffer,png_ptr->save_buffer_size);
png_free(png_ptr, old_buffer);
png_ptr->save_buffer_max = new_max;
}