AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.04.01 00:29 "file handle leak in tiv_open.c in CVS", by Robert Lowery
2004.04.04 17:58 "Re: file handle leak in tiv_open.c in CVS", by Frank Warmerdam

2004.04.04 17:58 "Re: file handle leak in tiv_open.c in CVS", by Frank Warmerdam

Robert Lowery wrote:
> 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

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