﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1721	One line redundant code in ngx_slab_free_locked	chronolaw@…		"Hi, When I read the source code of Nginx, I notice there is one line redundant code in ngx_slab_free_locked.

n = ((u_char *) p - pool->start) >> ngx_pagesize_shift;

In the beginning of this function, 'n' has been calculated, but in the case NGX_SLAB_PAGE, it is calculated again.

Please see the patch, thanks."	enhancement	closed	minor		nginx-core	1.15.x	fixed	ngx_slab_free			nginx version: nginx/1.15.8
