diff options
| author | Simon Tatham <anakin@pobox.com> | 2010-09-20 10:36:44 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2010-09-20 10:36:44 +0000 |
| commit | f1ad38971c4918c3b0818254caa57c21c5406642 (patch) | |
| tree | 4b1ddb064f734645dd43bb2c33bf959b8ae13615 | |
| parent | 26c669a6b2892b97b4a9bc6842f633291951fdbd (diff) | |
| download | puzzles-f1ad38971c4918c3b0818254caa57c21c5406642.zip puzzles-f1ad38971c4918c3b0818254caa57c21c5406642.tar.gz puzzles-f1ad38971c4918c3b0818254caa57c21c5406642.tar.bz2 puzzles-f1ad38971c4918c3b0818254caa57c21c5406642.tar.xz | |
Memory leak fixes from Jonas Koelker.
[originally from svn r9001]
| -rw-r--r-- | unfinished/slide.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unfinished/slide.c b/unfinished/slide.c index d32473c..634c5de 100644 --- 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; |