X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=9fb3ec49e75ddda0756a4db1767bbec1e10a757b;hb=306810f293c3bc1f3cbf2793a228d2113500e573;hp=06b4ace00393e2321fc7bef9762f4b320c582aa5;hpb=042c592bcddeea04cf81230ba9c97a09c5d3595c;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 06b4ace0..9fb3ec49 100644 --- a/src/bind.c +++ b/src/bind.c @@ -1666,7 +1666,7 @@ static int bind_config_add_view (oconfig_item_t *ci) /* {{{ */ if (tmp->name == NULL) { ERROR ("bind plugin: strdup failed."); - free (tmp); + sfree (views); return (-1); }