projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
snmp plugin: plug leak in error path.
[collectd.git]
/
src
/
statsd.c
diff --git
a/src/statsd.c
b/src/statsd.c
index
7fe9eb3
..
610391b
100644
(file)
--- a/
src/statsd.c
+++ b/
src/statsd.c
@@
-953,7
+953,7
@@
static int statsd_shutdown (void) /* {{{ */
while (c_avl_pick (metrics_tree, &key, &value) == 0)
{
sfree (key);
- sfree (value);
+ s
tatsd_metric_
free (value);
}
c_avl_destroy (metrics_tree);
metrics_tree = NULL;