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

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


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

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

Modified: trunk/mapbender/http/classes/class_weldOverview2PNG.php
===================================================================
--- trunk/mapbender/http/classes/class_weldOverview2PNG.php	2007-01-15 10:18:42 UTC (rev 1000)
+++ trunk/mapbender/http/classes/class_weldOverview2PNG.php	2007-01-15 10:19:30 UTC (rev 1001)
@@ -101,6 +101,8 @@
 		imageline ( $image, 0, $height-1, 0, 0, $black);
 		
 		imagepng($image,$filename);
+		imagedestroy($image); 
+		
 	}
 	
 	



More information about the Mapbender_commits mailing list