Cleanups and memory leak fixes from James H.

[originally from svn r6099]
This commit is contained in:
Simon Tatham
2005-07-16 20:06:37 +00:00
parent e7d6c0aa33
commit 931a7ca45f
2 changed files with 4 additions and 2 deletions

1
misc.c
View File

@ -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: */