summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/random/randomize_fd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/random/randomize_fd.c b/games/random/randomize_fd.c
index da41769..f66b965 100644
--- a/games/random/randomize_fd.c
+++ b/games/random/randomize_fd.c
@@ -207,6 +207,8 @@ randomize_fd(int fd, int type, int unique, double denom)
goto make_token;
}
+ free(buf);
+
for (i = numnode; i > 0; i--) {
selected = random() % numnode;
OpenPOWER on IntegriCloud