shithub: puzzles

Download patch

ref: 3c6280ef8b370ebbf9f5d15a7622d63462a8f3ed
parent: 6b650f894cde90fb01fcb93f31b60b130de919da
author: Simon Tatham <anakin@pobox.com>
date: Mon Jan 18 16:23:25 EST 2010

Memory leak fix from James H.

[originally from svn r8850]

--- a/keen.c
+++ b/keen.c
@@ -2247,6 +2247,10 @@
 			  FONT_VARIABLE, TILESIZE/2,
 			  ALIGN_VCENTRE | ALIGN_HCENTRE, ink, str);
 	    }
+
+    sfree(minus_sign);
+    sfree(times_sign);
+    sfree(divide_sign);
 }
 
 #ifdef COMBINED