Added a help file, mostly thanks to Jacob.
[sgt/puzzles] / rect.c
diff --git a/rect.c b/rect.c
index 9b7816c..f270d91 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -40,6 +40,7 @@
 #include "puzzles.h"
 
 const char *const game_name = "Rectangles";
+const char *const game_winhelp_topic = "games.rectangles";
 const int game_can_configure = TRUE;
 
 enum {
@@ -1357,6 +1358,7 @@ void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
         sfree(vedge);
    }
 
+    sfree(corners);
     sfree(correct);
 }