Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git] / src / bind.c
index 32b0f16..c5327f1 100644 (file)
@@ -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);
   }