| Index: third_party/libtiff/tif_dirread.c
|
| diff --git a/third_party/libtiff/tif_dirread.c b/third_party/libtiff/tif_dirread.c
|
| index a0dc68b78e040fdd6e8b467464da889ae43ecc24..5ef326485bd0587bdcdff95cdbb78a0e6f7a7eb0 100644
|
| --- a/third_party/libtiff/tif_dirread.c
|
| +++ b/third_party/libtiff/tif_dirread.c
|
| @@ -5372,6 +5372,8 @@ TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, uint32 nstrips, uint64** lpp)
|
| static const char module[] = "TIFFFetchStripThing";
|
| enum TIFFReadDirEntryErr err;
|
| uint64* data;
|
| + _TIFFfree(*lpp);
|
| + *lpp = 0;
|
| err=TIFFReadDirEntryLong8Array(tif,dir,&data);
|
| if (err!=TIFFReadDirEntryErrOk)
|
| {
|
|
|