/** * Destroys image handle * * @access public * @return void */ function free() { if (is_resource($this->_hImage)) { imagedestroy($this->_hImage); } parent::free(); }
/** * Destroys image handle * * @access public * @return void */ function free() { if (isset($this->_hImage)) { $this->_hImage->destroy(); } parent::free(); }