fix building by BCC without NGX_DEBUG_MALLOC

This commit is contained in:
Igor Sysoev 2009-04-15 19:44:41 +00:00
parent ee0da9ad53
commit 5234b9c6a8

View File

@ -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 */