diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-15 23:44:41 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-15 23:44:41 +0400 |
commit | 5234b9c6a8d9645c3fd41d40c61c14c065455dc8 (patch) | |
tree | 921c90e562484511048c835af70d94e345e0996c /src/core/ngx_slab.c | |
parent | ee0da9ad5312301a1ccd009e043155b3a1e8c372 (diff) |
fix building by BCC without NGX_DEBUG_MALLOC
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r-- | src/core/ngx_slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index cca8374ed..870c59bad 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -584,9 +584,9 @@ ngx_slab_free_locked(ngx_slab_pool_t *pool, void *p) ngx_slab_free_pages(pool, &pool->pages[n], size); - size <<= ngx_pagesize_shift; + ngx_slab_junk(p, size << ngx_pagesize_shift); - goto done; + return; } /* not reached */ |