From: Igor Sysoev Date: Wed, 15 Apr 2009 19:44:41 +0000 (+0000) Subject: fix building by BCC without NGX_DEBUG_MALLOC X-Git-Tag: release-0.7.52~15 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=5234b9c6a8d9645c3fd41d40c61c14c065455dc8;p=nginx.git fix building by BCC without NGX_DEBUG_MALLOC --- 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 */