changeset 4137:6b9b7e7ac4a9

Fixed loss of chain links in ngx_event_pipe_read_upstream().
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 20 Sep 2011 09:56:35 +0000
parents 7898857ff34b
children 70e1ee2307f9
files src/event/ngx_event_pipe.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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_p
             }
 
             p->free_raw_bufs = cl->next;
+            ngx_free_chain(p->pool, cl);
         }
     }