void UnloadImage (void *imageBuffer)
LoadImage(), and frees all resources acquired during the load process.
Call this function only if you allowed LoadImage() to allocate the destination buffer for you by passing a NULL buffer pointer to LoadImage(). If you allocated your own image buffer and passed it to LoadImage(), you must free the buffer yourself.
LoadImage() function.
LoadImage