From: Ruben Kerkhof Date: Sat, 5 Dec 2015 13:09:12 +0000 (+0100) Subject: bind plugin: plug small leak X-Git-Tag: collectd-5.5.1~25^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5e29722923189425ce9f8a04f92055e3476cc648;p=collectd.git bind plugin: plug small leak CID #37992 Signed-off-by: Florian Forster --- diff --git a/src/bind.c b/src/bind.c index 14c07592..f9cf79ec 100644 --- a/src/bind.c +++ b/src/bind.c @@ -1354,6 +1354,7 @@ static int bind_config (oconfig_item_t *ci) /* {{{ */ return (-1); } + sfree (url); url = strdup (child->values[0].value.string); } else if (strcasecmp ("OpCodes", child->key) == 0) bind_config_set_bool ("OpCodes", &global_opcodes, child);