diff -ur nginx-0.7.65/src/http/ngx_http_upstream.c nginx-0.7.65-patched/src/http/ngx_http_upstream.c --- nginx-0.7.65/src/http/ngx_http_upstream.c 2010-02-01 23:46:14.000000000 +0800 +++ nginx-0.7.65-patched/src/http/ngx_http_upstream.c 2010-06-03 12:11:29.925761199 +0800 @@ -363,8 +363,6 @@ if (u && u->cleanup) { ngx_http_upstream_cleanup(r); - *u->cleanup = NULL; - u->cleanup = NULL; } u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));