[gdal-dev] General Memory/Resource leak fixes(Cleanup calls)

mchapman at texelinc.com mchapman at texelinc.com
Thu Jan 24 08:19:04 EST 2008


Not sure if this is it but are you calling GDALCleanupAll?  It's called that or GDALAllCleanup or something.  I think it is declared near GDALRegisterAll.  

Martin

Sent via BlackBerry by AT&T

-----Original Message-----
From: sanjay boddhu <sanjay_ieee at yahoo.com>

Date: Thu, 24 Jan 2008 01:41:45 
To:gdal-dev at lists.osgeo.org
Subject: [gdal-dev] General Memory/Resource leak fixes(Cleanup calls)


Hi ,
     I have been trying to fix (or to be more appropriate, find the cleanup calls to fix) the memory and resource leaks in my application(which uses GDAL to read and write to a tif file). I have tried all the cleanup calls mentioned in the end of :

http://www.gdal.org/gdalinfo.c.html

and reduced lot of memory/resource leaks......But i still get a memory leak pointing in "GDALDataset  Create( ...)"  and few resource leaks of Mutex and TLsAlloc. 

I would really appreciate if anyone can recommend the right cleanup calls for the above leaks or hint me in the right direction.

Thanks

Sanjay



"If you look at what you do not have in life, you don't have anything"
"If you look at what you have in life, you have everything"
 
----------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now. <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > _______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list