changeset 2822:5364c3419a62

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 May 2009 18:11:18 +0000
parents 26e06e009ced
children 78342383cb6e
files src/http/ngx_http_special_response.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -454,6 +454,8 @@ ngx_http_filter_finalize_request(ngx_htt
 
     ngx_http_clean_header(r);
 
+    ctx = NULL;
+
     if (m) {
         ctx = r->ctx[m->ctx_index];
     }