hedgewars/uLand.pas
changeset 3048 755f484d0f62
parent 3046 d54b2c718971
child 3055 f542a36ef6c0
--- a/hedgewars/uLand.pas	Mon Mar 22 18:02:39 2010 +0000
+++ b/hedgewars/uLand.pas	Mon Mar 22 18:04:18 2010 +0000
@@ -861,9 +861,7 @@
 
 procedure freeModule;
 begin
-    FillChar(LandPixels, sizeof(TLandArray), 0);
-    // TODO - Find out why unc0rr removed this since it will leak
-    if LandBackSurface <> nil then SDL_FreeSurface(LandBackSurface);
+    FillChar(LandPixels, sizeof(TLandArray), 0)
 end;
 
 end.