X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemcachec.c;h=013b6c4ed6f83053fa42ace7848218fcaaf5448c;hb=1fc00932fd49fa535551cc4bba09c4e4be059ab4;hp=37f189468b51e7459fd1f189c22cc920d95c06cd;hpb=0003c4d3c184f0f437499d6073cd023dc7b659c2;p=collectd.git diff --git a/src/memcachec.c b/src/memcachec.c index 37f18946..013b6c4e 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);