[gdal-dev] Memory deallocation for GDALAllRegister

Martin Chapman mchapman at texelinc.com
Wed Jan 9 16:07:31 EST 2008


Even,

You are very wise in the art of GDAL.  That plugged up all of my memory leaks.  

+1 that Even is the man. :)

Best regards,

Martin Chapman
Chief Software Architect
Fortified Datacom Inc.
http://www.fortifieddatacom.com
mchapman at fortifieddatacom.com
303-324-1065


-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Even Rouault
Sent: Wednesday, January 09, 2008 1:33 PM
To: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Memory deallocation for GDALAllRegister

You should look at the end of the main() of 
http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdalinfo.c

Best regards,
Even

Le Wednesday 09 January 2008 21:25:19 Martin Chapman, vous avez écrit :
> Grasshoppers,
>
>
>
> When I call OGRRegisterAll() there is a corresponding OGRCleanupAll() to de
> allocate memory.  My question is, what is the corresponding de-allocator
> for GDALAllRegister()?  Right now if I call GDALAllRegister() it leaks
> memory on shut down.
>
>
>
> Best regards,
>
>
>
> Martin Chapman
>
> Chief Software Architect
>
> Fortified Datacom Inc.
>
> http://www.fortifieddatacom.com
>
> mchapman at fortifieddatacom.com
>
> 303-324-1065


_______________________________________________
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