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, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to