X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_daemon.c;h=d8f140e7f875b8ef04621cdbf0cacbab5e19da45;hp=f997d3ceddbd4060add089914cf95b80b86b3fcf;hb=3a5dd3888f1a7f8b3b9cec4527040bad143a6d7b;hpb=6c93a9ce3e712cde90088ab872cec79bdbb616da 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);