diff --git a/src/memcachec.c b/src/memcachec.c
index 93dbdbc47ad280f6a91b5793747a1397099c3259..013b6c4ed6f83053fa42ace7848218fcaaf5448c 100644 (file)
--- a/src/memcachec.c
+++ b/src/memcachec.c
} /* while (status == 0) */
if (status != 0)
+ {
+ cmc_web_match_free (match);
return (status);
+ }
match->match = match_create_simple (match->regex, match->exclude_regex,
match->dstype);
}
cmc_submit (wp, wm, mv);
+ match_value_reset (mv);
} /* for (wm = wp->matches; wm != NULL; wm = wm->next) */
sfree (wp->buffer);