summaryrefslogtreecommitdiffstats
path: root/otherlibs/str/strstubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/str/strstubs.c')
-rw-r--r--otherlibs/str/strstubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/str/strstubs.c b/otherlibs/str/strstubs.c
index 1ff544122..ef8fe96c9 100644
--- a/otherlibs/str/strstubs.c
+++ b/otherlibs/str/strstubs.c
@@ -22,7 +22,7 @@ static void free_regexp(value vexpr)
{
regexp expr = (regexp) Bp_val(vexpr);
expr->re.translate = NULL;
- regfree(&(expr->re));
+ re_free(&(expr->re));
}
static struct custom_operations regexp_ops = {