projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python plugin: Check return value of malloc().
[collectd.git]
/
src
/
bind.c
diff --git
a/src/bind.c
b/src/bind.c
index
14c0759
..
f9cf79e
100644
(file)
--- a/
src/bind.c
+++ b/
src/bind.c
@@
-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);