author | nemo |
Thu, 02 Jun 2011 18:39:35 -0400 | |
changeset 5227 | 17cf34724b57 |
parent 5226 | 10ecd8bd8517 |
child 5228 | b018f6117fc1 |
--- 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