Code

Merge pull request #1293 from mfournier/read-threads-timing
[collectd.git] / src / bind.c
index 06b4ace00393e2321fc7bef9762f4b320c582aa5..9fb3ec49e75ddda0756a4db1767bbec1e10a757b 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);
   }