From 265e51aa0b65fe8ba456224b95659b2612e0fc6d Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 20 Sep 2011 09:56:35 +0000 Subject: [PATCH] Fixed loss of chain links in ngx_event_pipe_read_upstream(). --- src/event/ngx_event_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/event/ngx_event_pipe.c b/src/event/ngx_event_pipe.c index fb00bcc77..4f45bb872 100644 --- a/src/event/ngx_event_pipe.c +++ b/src/event/ngx_event_pipe.c @@ -409,6 +409,7 @@ ngx_event_pipe_read_upstream(ngx_event_pipe_t *p) } p->free_raw_bufs = cl->next; + ngx_free_chain(p->pool, cl); } }