You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
559 B
15 lines
559 B
diff --git a/third_party/libtiff/tif_getimage.c b/third_party/libtiff/tif_getimage.c |
|
index 8523793..97fa94d 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; |
|
}
|
|
|