(PHP 3, PHP 4 )
imagedestroy() frees any memory associated with image image. image is the image identifier returned by the imagecreate() function.