[Gdal-dev] memory leaks (?) from using importFromESRI
Ben Discoe
ben at vterrain.org
Fri Sep 17 00:40:28 EDT 2004
When i call: OGRSpatialReference::importFromESRI()
it calls: InitDatumMappingTable()
which allocates a bunch of stuff, including a big array like this:
papszDatumMapping = (char
**)CPLCalloc(sizeof(char*),nMaxDatumMappings*3);
This memory never seems to get freed. I looked for, but didn't find, a
function like FreeDatumMappingTable().
Is there any way to avoid this leak?
Thanks,
Ben
More information about the Gdal-dev
mailing list