[gdal-dev] GDALClose

Adeel Raza adeel.raza at crc.gc.ca
Mon Jul 13 14:31:58 EDT 2009


Hi Frank,

I recently called GDALClose() on a virtual dataset (created from 
GDALAutoCreateWarpedVRT()), and it was causing writing violation errors 
and privileged instruction errors on the line following the GDALClose() 
call. Can you shed any light on this matter? Thanks.

Best Regards,
Adeel Raza.

Frank Warmerdam wrote:
> Adeel Raza wrote:
>> Hi,
>>
>> Should GDALClose() be called on virtual or MEM datasets?
>>
>
> Adeel,
>
> Yes, it will generally result in release of associated resources.
>
> Best regards,


More information about the gdal-dev mailing list