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)