summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Rouaix <francois.rouaix@gmail.com>1997-04-18 12:29:07 +0000
committerFrancois Rouaix <francois.rouaix@gmail.com>1997-04-18 12:29:07 +0000
commit0c272eb67c68f27525e2250d367aa3a732683377 (patch)
treed05b3ab0f0d061b599a4082088fb42ad8a4e0051
parent550b45c5caa1ee361a23e3df6d4210fecbde918f (diff)
FIXED multiple free sur case_fold_table
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--otherlibs/str/strstubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/str/strstubs.c b/otherlibs/str/strstubs.c
index d8a918cf0..13dbf9ec0 100644
--- a/otherlibs/str/strstubs.c
+++ b/otherlibs/str/strstubs.c
@@ -19,6 +19,7 @@ typedef struct regexp_struct * regexp;
static void free_regexp(expr)
value expr;
{
+ expr->re.translate = NULL;
regfree(&(((regexp)expr)->re));
}