Mercurial > hg > nginx-vendor-0-5
comparison src/core/ngx_palloc.c @ 318:3021f899881a NGINX_0_5_29
nginx 0.5.29
*) Feature: $nginx_version variable.
Thanks to Nick S. Grechukh.
*) Bugfix: if the FastCGI header was split in records, then nginx
passed garbage in the header to a client.
*) Bugfix: Sun Studio compatibility on Solaris/amd64 and
Solaris/sparc64.
Thanks to Jiang Hong and Andrei Nigmatulin.
*) Bugfix: of minor potential bugs.
Thanks to Coverity's Scan.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Jul 2007 00:00:00 +0400 |
parents | 9b7db0df50f0 |
children |
comparison
equal
deleted
inserted
replaced
317:c012154f05d1 | 318:3021f899881a |
---|---|
161 } | 161 } |
162 #endif | 162 #endif |
163 | 163 |
164 large = ngx_palloc(pool, sizeof(ngx_pool_large_t)); | 164 large = ngx_palloc(pool, sizeof(ngx_pool_large_t)); |
165 if (large == NULL) { | 165 if (large == NULL) { |
166 ngx_free(p); | |
166 return NULL; | 167 return NULL; |
167 } | 168 } |
168 | 169 |
169 large->alloc = p; | 170 large->alloc = p; |
170 large->next = pool->large; | 171 large->next = pool->large; |