Commit e5342dbf authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

remember to close pipes


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@967 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 330e79a3
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment