From: oetiker Date: Fri, 10 Jul 2009 05:52:41 +0000 (+0000) Subject: destroy flush condition variable X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a5dd3888f1a7f8b3b9cec4527040bad143a6d7b;p=rrdtool.git destroy flush condition variable git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1870 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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);