| Index: third_party/libtiff/tif_getimage.c
|
| diff --git a/third_party/libtiff/tif_getimage.c b/third_party/libtiff/tif_getimage.c
|
| index 85237937ec83d96552558e0e86e38331ae8be818..97fa94dbe7be86a9f2971c15de35a4bd14ed6e43 100644
|
| --- a/third_party/libtiff/tif_getimage.c
|
| +++ b/third_party/libtiff/tif_getimage.c
|
| @@ -478,10 +478,7 @@ TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop, char emsg[1024])
|
| return 1;
|
|
|
| fail_return:
|
| - _TIFFfree( img->redcmap );
|
| - _TIFFfree( img->greencmap );
|
| - _TIFFfree( img->bluecmap );
|
| - img->redcmap = img->greencmap = img->bluecmap = NULL;
|
| + TIFFRGBAImageEnd(img);
|
| return 0;
|
| }
|
|
|
|
|