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:
26c669a
)
Memory leak fixes from Jonas Koelker.
author
Simon Tatham
<anakin@pobox.com>
Mon, 20 Sep 2010 10:36:44 +0000
(10:36 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Mon, 20 Sep 2010 10:36:44 +0000
(10:36 +0000)
[originally from svn r9001]
unfinished/slide.c
patch
|
blob
|
history
diff --git
a/unfinished/slide.c
b/unfinished/slide.c
index d32473cfe41fcec5fcd219128da4d08492c23b8d..634c5dec8a6e685de309e8d7f3914138f28cbaf8 100644
(file)
--- a/
unfinished/slide.c
+++ b/
unfinished/slide.c
@@
-821,6
+821,9
@@
static void generate_board(int w, int h, int *rtx, int *rty, int *minmoves,
}
}
+ sfree(dsf);
+ sfree(list);
+ sfree(tried_merge);
sfree(board2);
*rtx = tx;