[gdal-dev] Deleting GDALColorTable *

David Strip gdal at stripfamily.net
Mon Nov 26 11:51:53 PST 2012


If I do something like this:
     GDALColorTable * ct = raster_band->GetColorTable()->clone();
     ... bunch of stuff
     delete ct;

Will the destructor be called on the color table represented pointed to 
by ct, or do I have to call GDALDestroyColorTable((GDALColorTableH) ct)


More information about the gdal-dev mailing list