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

Ray Gardener rayg at daylongraphics.com
Mon Feb 4 03:44:48 EST 2008


Is anyone getting two small memleaks when building GDAL 1.5.0 in VC6? 
I'm starting GDAL, enumerating a driver list, and then closing. These 
two blocks come up:

{50} normal block at 0x01C04148, 33 bytes long.
  Data: < C              > 00 43 00 CD CD CD CD CD CD CD CD ...
{49} normal block at 0x01C02DB8, 40 bytes long.
  Data: < |L             > 14 7C 4C 10 16 00 00 00 00 00 00 ...

There were many more leaks, but calling GDALDestroyDriverManager() 
resolved those.

Ray


More information about the gdal-dev mailing list