Mercurial > hg > nginx
comparison src/core/ngx_regex.c @ 2049:2a92804f4109
*) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 17 Jun 2008 15:00:30 +0000 |
parents | 4d8140271204 |
children | be47fe127f8c |
comparison
equal
deleted
inserted
replaced
2048:824615f3b4ec | 2049:2a92804f4109 |
---|---|
163 #else | 163 #else |
164 pool = ngx_pcre_pool; | 164 pool = ngx_pcre_pool; |
165 #endif | 165 #endif |
166 | 166 |
167 if (pool) { | 167 if (pool) { |
168 return ngx_palloc_aligned(pool, size); | 168 return ngx_palloc(pool, size); |
169 } | 169 } |
170 | 170 |
171 return NULL; | 171 return NULL; |
172 } | 172 } |
173 | 173 |