[gdal-dev] GDALClose MEM

2010-11-12 Thread Radim Blazek
Hi, does the GDALClose function called for MEM driver call free() on the memory passed to the driver as DATAPOINTER param? If so, how to avoid it? Radim ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDALClose MEM

2010-11-12 Thread Frank Warmerdam
Radim Blazek wrote: Hi, does the GDALClose function called for MEM driver call free() on the memory passed to the driver as DATAPOINTER param? If so, how to avoid it? Radim, Internally the driver tries to keep track of whether it owns the referenced memory or not. It looks like if you use a