[Mapbender_commits] r1002 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 15 05:20:19 EST 2007


Author: astrid_emde
Date: 2007-01-15 05:20:19 -0500 (Mon, 15 Jan 2007)
New Revision: 1002

Modified:
   trunk/mapbender/http/classes/class_weldLegend2PNG.php
Log:
cleaning up memory after image creation (imagedestroy($image);)

Modified: trunk/mapbender/http/classes/class_weldLegend2PNG.php
===================================================================
--- trunk/mapbender/http/classes/class_weldLegend2PNG.php	2007-01-15 10:19:30 UTC (rev 1001)
+++ trunk/mapbender/http/classes/class_weldLegend2PNG.php	2007-01-15 10:20:19 UTC (rev 1002)
@@ -53,6 +53,8 @@
 			}
 		}
 		imagepng($image,$filename);
+		imagedestroy($image); 
+		
 	}
 	function loadpng ($imgurl) {
 			



More information about the Mapbender_commits mailing list