X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemcachec.c;h=72544fcf6de00b8afd4b9bbb16f35fd766501c26;hb=924bfe28d5be1058ccf50931d77639212fb28346;hp=7c8528d500492751cd035f580000a487f42d3cb6;hpb=d1483d2e2a9116c233aeaceba99fa58a7e6bdc87;p=collectd.git diff --git a/src/memcachec.c b/src/memcachec.c index 7c8528d5..72544fcf 100644 --- a/src/memcachec.c +++ b/src/memcachec.c @@ -263,7 +263,10 @@ static int cmc_config_add_match (web_page_t *page, /* {{{ */ } /* 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);