# HG changeset patch
# User nemo
# Date 1307054375 14400
# Node ID 17cf34724b57feb389d7a983889c0640e0e493f4
# Parent  10ecd8bd85170c4d707ae7c359fa5f78bfd8f7b7
oops.

diff -r 10ecd8bd8517 -r 17cf34724b57 hedgewars/uLand.pas
--- a/hedgewars/uLand.pas	Thu Jun 02 18:36:35 2011 -0400
+++ b/hedgewars/uLand.pas	Thu Jun 02 18:39:35 2011 -0400
@@ -1058,6 +1058,7 @@
     AddOnLandObjects(tmpsurf);
 
     LandSurface2LandPixels(tmpsurf);
+    SDL_FreeSurface(tmpsurf);
     if (cReducedQuality and rqBlurryLand) = 0 then
         for x:= leftX+2 to rightX-2 do
             for y:= topY+2 to LAND_HEIGHT-3 do