aboutsummaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 8487277efb..d0849ebc93 100644
--- a/random.c
+++ b/random.c
@@ -255,7 +255,7 @@ rand_init(VALUE vseed)
}
old = saved_seed;
saved_seed = seed;
- free(buf);
+ xfree(buf);
return old;
}