X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemcachec.c;h=72544fcf6de00b8afd4b9bbb16f35fd766501c26;hb=9bf68f1807313f29cad9f68873c8feab21ad4746;hp=7c8528d500492751cd035f580000a487f42d3cb6;hpb=51a4e62d7d0e73d8d5822efaef1e3218b5ad0373;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);