[rrd-developers] [PATCH] destroy flush condition variable

kevin brintnall kbrint at rufus.net
Fri Jul 10 00:54:00 CEST 2009


---
 src/rrd_daemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index f997d3c..d8f140e 100644
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
@@ -656,6 +656,7 @@ static void *free_cache_item(cache_item_t *ci) /* {{{ */
 
   /* in case anyone is waiting */
   pthread_cond_broadcast(&ci->flushed);
+  pthread_cond_destroy(&ci->flushed);
 
   free (ci);
 
-- 
1.6.3.1



More information about the rrd-developers mailing list