From: phk Date: Mon, 11 Sep 2006 15:12:05 +0000 (+0000) Subject: remember to close pipes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c1a4a5ff5afacfc43966fc7e54fe43db9583a26;p=varnish remember to close pipes git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@967 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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); }