chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b650f8
)
Memory leak fix from James H.
author
Simon Tatham
<anakin@pobox.com>
Mon, 18 Jan 2010 21:23:25 +0000
(21:23 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Mon, 18 Jan 2010 21:23:25 +0000
(21:23 +0000)
[originally from svn r8850]
keen.c
patch
|
blob
|
history
diff --git
a/keen.c
b/keen.c
index 5ec78982aa9166654008d464c478f61fd12c7a7c..fe4149616450971fb452678b01a2745e1f4dfa35 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