summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-08 18:11:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-08 18:11:18 +0000
commit3adecaf121ddffe8d78eccd55a47be8221a885d9 (patch)
tree8146cdd4901db7324e45d7de48490fdf173ea7aa
parentad0b9303d0996f0bb91c64e150e8dd6029631ae1 (diff)
downloadnginx-3adecaf121ddffe8d78eccd55a47be8221a885d9.tar.gz
fix the previous commit
-rw-r--r--src/http/ngx_http_special_response.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 9bf99162b..976543034 100644
--- 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_http_request_t *r, ngx_module_t *m,
ngx_http_clean_header(r);
+ ctx = NULL;
+
if (m) {
ctx = r->ctx[m->ctx_index];
}