projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
processes plugin: Fix error message.
[collectd.git]
/
src
/
write_riemann.c
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
6db3ef5
..
86f0c1f
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-610,6
+610,7
@@
static void wrr_free(void *p) /* {{{ */
wrr_disconnect(host);
wrr_disconnect(host);
+ pthread_mutex_lock(&host->lock);
pthread_mutex_destroy(&host->lock);
sfree(host);
} /* }}} void wrr_free */
pthread_mutex_destroy(&host->lock);
sfree(host);
} /* }}} void wrr_free */