Image:Free(img_handler)
Destroys the specified image buffer.
imagehandler should have been set to handle an Image using Image:Load or Image:New functions.
function main() { //declare the variable to become the buffer Var:Number myheart; //be sure to create the heart.bmp first Image:Load("heart.bmp", myheart) //destroy the image buffer Image:Free(myheart) }