[libpng12] Fix cut-and-paste error (delete one line) in pngpread.c
This commit is contained in:
parent
01a1fd6ea5
commit
174724800c
@ -692,7 +692,6 @@ png_push_save_buffer(png_structp png_ptr)
|
|||||||
png_ptr->save_buffer_size);
|
png_ptr->save_buffer_size);
|
||||||
else if (png_ptr->save_buffer_size)
|
else if (png_ptr->save_buffer_size)
|
||||||
png_error(png_ptr, "save_buffer error");
|
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_free(png_ptr, old_buffer);
|
||||||
png_ptr->save_buffer_max = new_max;
|
png_ptr->save_buffer_max = new_max;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user