| commit | 260c4321d71806f51d124d79cdff8e8e496a4956 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Tue Jun 02 16:09:44 2009 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Tue Jun 02 16:09:44 2009 +0000 |
| tree | a6fe073d5f57d49b05562f9ce020b3a532c85c8c | |
| parent | 05822df0cb9dcf9909f4d82be7ce1becd108eeac [diff] [blame] |
return NULL instead of NGX_CONF_ERROR on a create conf failure
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 132f7d1..6d73501 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1883,7 +1883,7 @@ conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_proxy_loc_conf_t)); if (conf == NULL) { - return NGX_CONF_ERROR; + return NULL; } /*