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:
Igor Sysoev
2018-04-20 19:46:36 +03:00
parent b95d5b8882
commit 8ed36563d1

View File

@@ -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);
}