comparison src/http/modules/ngx_http_addition_filter_module.c @ 3237:2efa8d2fcde1 stable-0.7

merge r2903, r2911, r2912, r3002: fix various failures handling
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 15:54:29 +0000
parents 87b8c44906b5
children 29ba1de1ab0b
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
210 { 210 {
211 ngx_http_addition_conf_t *conf; 211 ngx_http_addition_conf_t *conf;
212 212
213 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_addition_conf_t)); 213 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_addition_conf_t));
214 if (conf == NULL) { 214 if (conf == NULL) {
215 return NGX_CONF_ERROR; 215 return NULL;
216 } 216 }
217 217
218 /* 218 /*
219 * set by ngx_pcalloc(): 219 * set by ngx_pcalloc():
220 * 220 *