hedgewars/uLand.pas
changeset 3046 d54b2c718971
parent 3045 41732f986b4f
child 3048 755f484d0f62
equal deleted inserted replaced
3045:41732f986b4f 3046:d54b2c718971
   860 end;
   860 end;
   861 
   861 
   862 procedure freeModule;
   862 procedure freeModule;
   863 begin
   863 begin
   864     FillChar(LandPixels, sizeof(TLandArray), 0);
   864     FillChar(LandPixels, sizeof(TLandArray), 0);
       
   865     // TODO - Find out why unc0rr removed this since it will leak
       
   866     if LandBackSurface <> nil then SDL_FreeSurface(LandBackSurface);
   865 end;
   867 end;
   866 
   868 
   867 end.
   869 end.