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=13bf0b92b0f204e479fa65ce91620c2f184ad592;p=rrdtool-all.git destroy flush condition variable git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1870 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index f997d3ce..d8f140e7 100644 --- a/program/src/rrd_daemon.c +++ b/program/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);