From 3a5dd3888f1a7f8b3b9cec4527040bad143a6d7b Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 10 Jul 2009 05:52:41 +0000 Subject: [PATCH] destroy flush condition variable git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1870 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_daemon.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.11.0