X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcurl.c;h=ac4cc512c63fd51dcdd9190814aca5e0eaf1cc7d;hb=6bf2e82bf5049af097beae4a8b7f086466520839;hp=b750f80bfa82ddddfe74bf967a890cac1e87bc57;hpb=cf33da9ad00ac94931a2c87563f8d007a996f1ad;p=collectd.git diff --git a/src/curl.c b/src/curl.c index b750f80b..ac4cc512 100644 --- a/src/curl.c +++ b/src/curl.c @@ -327,7 +327,10 @@ static int cc_config_add_match (web_page_t *page, /* {{{ */ } /* while (status == 0) */ if (status != 0) + { + cc_web_match_free (match); return (status); + } match->match = match_create_simple (match->regex, match->exclude_regex, match->dstype);