keyboard #1 Is there a reason why you don't put all the images to be freed in a function function FreeSpecificImages() freeimage firstimage freeimage secondimage end function and call it when necessary?