[gdal-dev] Problem closing VRT GDALDataset *

Frank Warmerdam warmerdam at pobox.com
Tue Jul 21 16:31:46 EDT 2009


Adeel Raza wrote:
> Hi Frank,
> 
> Thanks for the help. It seems like you were correct. When I dereference 
> the MEM dataset the post-decrement reference count is not 0. My question 
> is: do I not close the MEM dataset since its reference count is not 0?

Adeel,

You should not be closing the MEM dataset while it is still referenced
by the VRT dataset.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list