]> git.kaiwu.me - nginx.git/commitdiff
fix the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Fri, 8 May 2009 18:11:18 +0000 (18:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 8 May 2009 18:11:18 +0000 (18:11 +0000)
src/http/ngx_http_special_response.c

index 9bf99162b62dda6b07690de2dfcaf80f1ba10f7a..976543034cc28f1fcab9ad772319ff9fb8a63a59 100644 (file)
@@ -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];
     }