OLD | NEW |
(Empty) | |
| 1 diff --git a/third_party/libtiff/tif_getimage.c b/third_party/libtiff/tif_getima
ge.c |
| 2 index 8523793..97fa94d 100644 |
| 3 --- a/third_party/libtiff/tif_getimage.c |
| 4 +++ b/third_party/libtiff/tif_getimage.c |
| 5 @@ -478,10 +478,7 @@ TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop,
char emsg[1024]) |
| 6 return 1; |
| 7 |
| 8 fail_return: |
| 9 - _TIFFfree( img->redcmap ); |
| 10 - _TIFFfree( img->greencmap ); |
| 11 - _TIFFfree( img->bluecmap ); |
| 12 - img->redcmap = img->greencmap = img->bluecmap = NULL; |
| 13 + TIFFRGBAImageEnd(img); |
| 14 return 0; |
| 15 } |
OLD | NEW |