# HG changeset patch # User nemo # Date 1269281058 0 # Node ID 755f484d0f624968b53ce76ce9301b04206fb637 # Parent 2847f4f2ce672d820cb69501b814d2b8de41cbb4 oh. I missed the fact he moved it to uLandTexture diff -r 2847f4f2ce67 -r 755f484d0f62 hedgewars/uLand.pas --- 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.