projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't divide by 0 when doing percentages (e.g. with the swap plugin).
[collectd.git]
/
src
/
bind.c
diff --git
a/src/bind.c
b/src/bind.c
index
c5327f1
..
27164fd
100644
(file)
--- a/
src/bind.c
+++ b/
src/bind.c
@@
-1709,6
+1709,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);