From 6c1a4a5ff5afacfc43966fc7e54fe43db9583a26 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 11 Sep 2006 15:12:05 +0000 Subject: [PATCH] remember to close pipes git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@967 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index c9d9f08e..6d9a58ac 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -194,6 +194,8 @@ wrk_thread(void *priv) VSL_stats->n_wrk--; UNLOCK(&wrk_mtx); VSL(SLT_WorkThread, 0, "%p end", w); + close(w->pipe[0]); + close(w->pipe[1]); return (NULL); } -- 2.39.5