svn: /phpdoc/en/trunk/reference/image/functions/ imagerotate.xml

From: Date: Fri, 22 Mar 2013 15:52:00 +0000
Subject: svn: /phpdoc/en/trunk/reference/image/functions/ imagerotate.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11114@lists.php.net to get a copy of this message
kalle Fri, 22 Mar 2013 15:52:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=329872 Log: It's good practice to also destroy the image resources Changed paths: U phpdoc/en/trunk/reference/image/functions/imagerotate.xml Modified: phpdoc/en/trunk/reference/image/functions/imagerotate.xml =================================================================== --- phpdoc/en/trunk/reference/image/functions/imagerotate.xml 2013-03-22 15:33:51 UTC (rev 329871) +++ phpdoc/en/trunk/reference/image/functions/imagerotate.xml 2013-03-22 15:52:00 UTC (rev 329872) @@ -111,6 +111,10 @@ // Output imagejpeg($rotate); + +// Free the memory +imagedestroy($source); +imagedestroy($rotate); ?> ]]> </programlisting>

« previous php.doc.cvs (#11114) next »