diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2000-03-24 16:15:44 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2000-03-24 16:15:44 +0000 |
commit | 73ef448a9840625deb4848e9cbc51a9575c0a0a6 (patch) | |
tree | 9ac04fd4e7ee49dfda557d641379b3c14cdc00ad | |
parent | 75d01b3755f5bdd11de88dc8233a09aa22d39a5c (diff) |
Utiliser re_free au lieu de regfree
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | otherlibs/str/strstubs.c | 2 |
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 = { |