chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanups and memory leak fixes from James H.
[sgt-puzzles.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 17ec48c4cc0683735e00e08bfcd79922597794ee..4e9e8c855ade6d68403097e8c7cc361ab4b38a76 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-210,6
+210,7
@@
void shuffle(void *array, int nelts, int eltsize, random_state *rs)
memcpy(carray + eltsize * j, tmp, eltsize);
}
}
+ sfree(tmp);
}
/* vim: set shiftwidth=4 tabstop=8: */