]> git.kaiwu.me - nginx.git/commitdiff
Fixed loss of chain links in ngx_event_pipe_read_upstream().
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 20 Sep 2011 09:56:35 +0000 (09:56 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 20 Sep 2011 09:56:35 +0000 (09:56 +0000)
src/event/ngx_event_pipe.c

index fb00bcc774156d9c21680eee370e27e2c705f2c5..4f45bb8725f4a5a55c85082415429194babc3fa5 100644 (file)
@@ -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);
         }
     }