[libpng10] Imported from libpng-1.0.61.tar

This commit is contained in:
Glenn Randers-Pehrson
2014-02-05 21:51:29 -06:00
parent 0fc7d58632
commit 9d6ff2c566
69 changed files with 9545 additions and 6253 deletions

View File

@@ -214,6 +214,10 @@ uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes)
* libpng function */
if (setjmp(png_jmpbuf(png_ptr))) {
free(image_data);
image_data = NULL;
free(row_pointers);
row_pointers = NULL;
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
return NULL;
}