X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmemcachec.c;h=013b6c4ed6f83053fa42ace7848218fcaaf5448c;hb=81a5fd5046c6a39f580a8fc1a3af837fd5f5aa5c;hp=7c8528d500492751cd035f580000a487f42d3cb6;hpb=82e27678f8972d2625b466e7e7ba9daaa6395c98;p=collectd.git diff --git a/src/memcachec.c b/src/memcachec.c index 7c8528d5..013b6c4e 100644 --- a/src/memcachec.c +++ b/src/memcachec.c @@ -18,7 +18,7 @@ * * Authors: * Doug MacEachern - * Florian octo Forster + * Florian octo Forster **/ #include "collectd.h" @@ -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);