Commit 8b4cc657 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remember to release workspace on listen socket close.

parent db36b58c
...@@ -222,6 +222,7 @@ Pool_Work_Thread(void *priv, struct worker *w) ...@@ -222,6 +222,7 @@ Pool_Work_Thread(void *priv, struct worker *w)
if (i < 0) { if (i < 0) {
/* Socket Shutdown */ /* Socket Shutdown */
FREE_OBJ(ps); FREE_OBJ(ps);
WS_Release(w->ws, 0);
continue; continue;
} }
VTAILQ_INSERT_TAIL(&pp->socks, ps, list); VTAILQ_INSERT_TAIL(&pp->socks, ps, list);
......
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