bind plugin: plug small leak
[collectd.git] / src / bind.c
index 14c0759..f9cf79e 100644 (file)
@@ -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);