Re: [gdal-dev] Destroying OGRGeometry objects

2009-01-14 Thread Frank Warmerdam
Kor de Jong wrote: Hi all, In my code I am stealing the OGRFeature's OGRGeometry objects (OGRFeature::StealGeometry). Am I correct that there currently is not a safe way for me to destroy these geometry objects (within the context of the GDAL/OGR heap)? I am looking for an equivalent of OGRDataS

[gdal-dev] Destroying OGRGeometry objects

2009-01-14 Thread Kor de Jong
Hi all, In my code I am stealing the OGRFeature's OGRGeometry objects (OGRFeature::StealGeometry). Am I correct that there currently is not a safe way for me to destroy these geometry objects (within the context of the GDAL/OGR heap)? I am looking for an equivalent of OGRDataSource::DestroyDataSou