void tsmFreeImage ( Image_t *image, int free_bitmap ) Frees an Image_t structure
Frees an Image_t structure.This function will free an Image_t structure, as might be returned by tsmReadImage. You have the choice of whether you wish to free the bitmap array of this structure. If you are completely finished with this structure, then you should set free_bitmap to TRUE. However, if you want to free the memory for the Image_t structure but you want the bitmap data to live on, then you should use a value of FALSE.