diff options
Diffstat (limited to 'ext/strscan')
-rw-r--r-- | ext/strscan/strscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 7c6cf05bf3..622bfae214 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -166,7 +166,7 @@ static void strscan_free(struct strscanner *p) { onig_region_free(&(p->regs), 0); - free(p); + ruby_xfree(p); } static VALUE |