From 931a7ca45f4c247e974509922b879cc631a84ec9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 16 Jul 2005 20:06:37 +0000 Subject: Cleanups and memory leak fixes from James H. [originally from svn r6099] --- misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 17ec48c..4e9e8c8 100644 --- 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: */ -- cgit v1.1