hedgewars/uStore.pas
changeset 765 a45111da760e
parent 764 7513452b1d51
child 766 cdc8f75ab7bc
--- a/hedgewars/uStore.pas	Sun Jan 27 16:49:11 2008 +0000
+++ b/hedgewars/uStore.pas	Sun Jan 27 17:04:54 2008 +0000
@@ -210,7 +210,7 @@
           if GraveName = '' then GraveName:= 'Simple';
           texsurf:= LoadImage(Pathz[ptGraves] + '/' + GraveName, false, true, true);
           GraveTex:= Surface2Tex(texsurf);
-          SDL_FreeSurface(tmpsurf)
+          SDL_FreeSurface(texsurf)
           end
     end;