2004.04.04 17:58 "Re: [Tiff] file handle leak in tiv_open.c in CVS", by Frank Warmerdam
I believe there is a handle leak in TIFFClientOpen
The last two lines are currently
return ((TIFF*)0);
(void) (*closeproc)(clientdata);I believe they should be swapped to correctly close the file on error
Robert,
I agree with your analysis. I have corrected this in CVS.
Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent