Memory leak fix from James H.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 18 Jan 2010 21:23:25 +0000 (21:23 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 18 Jan 2010 21:23:25 +0000 (21:23 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8850 cda61777-01e9-0310-a592-d414129be87e

keen.c

diff --git a/keen.c b/keen.c
index 5ec7898..fe41496 100644 (file)
--- a/keen.c
+++ b/keen.c
@@ -2247,6 +2247,10 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
                          FONT_VARIABLE, TILESIZE/2,
                          ALIGN_VCENTRE | ALIGN_HCENTRE, ink, str);
            }
+
+    sfree(minus_sign);
+    sfree(times_sign);
+    sfree(divide_sign);
 }
 
 #ifdef COMBINED