[Gdal-dev] Reverse the effects of GDALAllRegister()?

Ben Discoe ben at vterrain.org
Wed Jun 18 19:21:52 EDT 2003

I am finding a lot of unfreed memory when my program exits.  Tracking it
down, much of it is allocated in places like:
	GDALRegister_FIT() etc.
Which are called by the usual call to:

I looked for, but couldn't find, a way to tell GDAL to "unregister" and
free all the drivers that it allocates with GDALAllRegister().  There is
a method GDALDeregisterDriver(), but is only does a single driver and
doesn't actually free it.

Do we need a method like GDALAllFree(), or is there already a way to do


More information about the Gdal-dev mailing list