Fixed alerts about freeing non-freeable memory on connection close.
The nxt_conn_t object is allocated by nxt_zget() and should not be freed.
This commit is contained in:
@@ -99,7 +99,6 @@ nxt_conn_free(nxt_task_t *task, nxt_conn_t *c)
|
||||
task->thread->engine->connections--;
|
||||
|
||||
mp = c->mem_pool;
|
||||
nxt_mp_free(mp, c);
|
||||
nxt_mp_release(mp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user