Home | History | Annotate | Download | only in libtiff
      1 diff --git a/third_party/libtiff/tif_dirread.c b/third_party/libtiff/tif_dirread.c
      2 index a0dc68b..5ef3264 100644
      3 --- a/third_party/libtiff/tif_dirread.c
      4 +++ b/third_party/libtiff/tif_dirread.c
      5 @@ -5372,6 +5372,8 @@ TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, uint32 nstrips, uint64** lpp)
      6  	static const char module[] = "TIFFFetchStripThing";
      7  	enum TIFFReadDirEntryErr err;
      8  	uint64* data;
      9 +	_TIFFfree(*lpp);
     10 +	*lpp = 0;
     11  	err=TIFFReadDirEntryLong8Array(tif,dir,&data);
     12  	if (err!=TIFFReadDirEntryErrOk)
     13  	{
     14