diff options
author | Igor Sysoev <igor@sysoev.ru> | 2018-04-20 19:46:36 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2018-04-20 19:46:36 +0300 |
commit | 8ed36563d1be2d020742aad28ceaa1694814c2ce (patch) | |
tree | 76bb64a7fbb26e507f1bd607883b3aaf69407a55 /src/nxt_conn.c | |
parent | b95d5b88826210165a566cbe4cc564488cd28f88 (diff) | |
download | unit-8ed36563d1be2d020742aad28ceaa1694814c2ce.tar.gz unit-8ed36563d1be2d020742aad28ceaa1694814c2ce.tar.bz2 |
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.
Diffstat (limited to 'src/nxt_conn.c')
-rw-r--r-- | src/nxt_conn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_conn.c b/src/nxt_conn.c index c451a38b..9ca3ae8a 100644 --- a/src/nxt_conn.c +++ b/src/nxt_conn.c @@ -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); } |