diff options
Diffstat (limited to 'contrib/gregbook/readpng.c')
-rw-r--r-- | contrib/gregbook/readpng.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/gregbook/readpng.c b/contrib/gregbook/readpng.c index f5e1fb1a4..0b75fac6d 100644 --- a/contrib/gregbook/readpng.c +++ b/contrib/gregbook/readpng.c @@ -215,10 +215,6 @@ 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; } |