projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
524081c
)
Merge pull request #3351 from ccin2p3/f/write_riemann-memleak
collectd-5.9
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 5 Dec 2019 16:21:29 +0000
(17:21 +0100)
committer
GitHub
<noreply@github.com>
Thu, 5 Dec 2019 16:21:29 +0000
(17:21 +0100)
Fix memory leak in write_riemann
src/write_riemann.c
patch
|
blob
|
history
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
201ac51
..
20e5dc2
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-405,6
+405,7
@@
wrr_value_to_event(struct riemann_host const *host, /* {{{ */
riemann_event_string_attribute_add(event, key, value);
free(value);
}
+ free(toc[i]);
}
free(toc);