summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 277923f551..e9b7726dd3 100644
--- a/bignum.c
+++ b/bignum.c
@@ -93,7 +93,7 @@ rb_big_realloc(VALUE big, long len)
RBIGNUM_SET_LEN(big, len);
if (ds) {
MEMCPY(RBIGNUM(big)->as.ary, ds, BDIGIT, len);
- free(ds);
+ xfree(ds);
}
}
else {