Hi Frank,
OK - my next question then is: If I close the VRT dataset if it
references the MEM dataset using GDALClose(), would that operation also
close the MEM dataset or would I need to close the MEM dataset after I
close the VRT dataset?
Best Regards,
Adeel.
Frank Warmerdam wrote:
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,
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev