X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemcachec.c;h=013b6c4ed6f83053fa42ace7848218fcaaf5448c;hb=0ba2f3a1a1db4ed7ce6f990b22b9605e19fc7ab9;hp=37f189468b51e7459fd1f189c22cc920d95c06cd;hpb=cedb6f147e94d0e952449f731313412ef4d67904;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);