aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c1
1 files changed, 1 insertions, 0 deletions
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: */