Mercurial > hg > nginx
comparison src/core/ngx_alloc.c @ 133:b27548f540ad
nginx-0.0.1-2003-09-24-23:51:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 24 Sep 2003 19:51:12 +0000 |
parents | 1947c683490f |
children | afc333135a6b |
comparison
equal
deleted
inserted
replaced
132:949f45d1589a | 133:b27548f540ad |
---|---|
65 */ | 65 */ |
66 | 66 |
67 #if (NGX_DEBUG_ALLOC) | 67 #if (NGX_DEBUG_ALLOC) |
68 for (p = pool, n = pool->next; /* void */; p = n, n = n->next) { | 68 for (p = pool, n = pool->next; /* void */; p = n, n = n->next) { |
69 ngx_log_debug(pool->log, "free: %08x" _ p); | 69 ngx_log_debug(pool->log, "free: %08x" _ p); |
70 | |
71 if (n == NULL) { | |
72 break; | |
73 } | |
70 } | 74 } |
71 #endif | 75 #endif |
72 | 76 |
73 for (p = pool, n = pool->next; /* void */; p = n, n = n->next) { | 77 for (p = pool, n = pool->next; /* void */; p = n, n = n->next) { |
74 free(p); | 78 free(p); |