projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c425d
)
bind plugin: plug small leak
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Dec 2015 13:09:12 +0000
(14:09 +0100)
committer
Florian Forster
<octo@collectd.org>
Sat, 5 Dec 2015 20:35:33 +0000
(21:35 +0100)
CID #37992
Signed-off-by: Florian Forster <octo@collectd.org>
src/bind.c
patch
|
blob
|
history
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);