summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f123d38)
raw | patch | inline | side by side (parent: f123d38)
author | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 16:16:39 +0000 (17:16 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 16:16:39 +0000 (17:16 +0100) |
CID: 179227
src/write_riemann.c | patch | blob | history |
diff --git a/src/write_riemann.c b/src/write_riemann.c
index 3835a3d58b09e04234c7b3281ed167876042dfa9..00852ffbf2c851665196252ea45f2b445d8655f0 100644 (file)
--- a/src/write_riemann.c
+++ b/src/write_riemann.c
wrr_disconnect(host);
+ pthread_mutex_lock(&host->lock);
pthread_mutex_destroy(&host->lock);
sfree(host);
} /* }}} void wrr_free */