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	Fri May 08 14:52:50 2009 +0000
+++ b/src/http/ngx_http_special_response.c	Fri May 08 18:11:18 2009 +0000
@@ -454,6 +454,8 @@
 
     ngx_http_clean_header(r);
 
+    ctx = NULL;
+
     if (m) {
         ctx = r->ctx[m->ctx_index];
     }