summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2dc2d5d)
raw | patch | inline | side by side (parent: 2dc2d5d)
author | Florian Forster <octo@collectd.org> | |
Tue, 23 Apr 2013 05:15:44 +0000 (07:15 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 23 Apr 2013 08:43:33 +0000 (10:43 +0200) |
Github: #307
src/write_riemann.c | patch | blob | history |
diff --git a/src/write_riemann.c b/src/write_riemann.c
index b5242172d0bfdba043cc1b6c0aa5aa01290ea073..15bb23787c59f7b4f01d543c621a75fee2be42f4 100644 (file)
--- a/src/write_riemann.c
+++ b/src/write_riemann.c
event->n_tags = 0;
for (i = 0; i < event->n_attributes; i++)
+ {
+ sfree (event->attributes[i]->key);
+ sfree (event->attributes[i]->value);
sfree (event->attributes[i]);
+ }
sfree (event->attributes);
event->n_attributes = 0;