summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2020-04-15 15:10:14 +0300
committerIgor Sysoev <igor@sysoev.ru>2020-04-15 15:10:14 +0300
commitee62736a11acc4b699102a1260c6a8c5f57c1fef (patch)
treeae0791e8845a4013507130a1d1d781581a717692 /src/nxt_conn.h
parent04143c8c7ee59d24aa1d6df0377e7900e96e3f72 (diff)
downloadunit-ee62736a11acc4b699102a1260c6a8c5f57c1fef.tar.gz
unit-ee62736a11acc4b699102a1260c6a8c5f57c1fef.tar.bz2
Fixed memory leak occurring upon failure to accept a connection.
Diffstat (limited to '')
-rw-r--r--src/nxt_conn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index 2c1d49a0..a443601f 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -106,7 +106,7 @@ typedef struct {
nxt_work_handler_t accept;
nxt_listen_socket_t *listen;
- nxt_conn_t *next; /* STUB */
+ nxt_conn_t *next;
nxt_work_queue_t *work_queue;
nxt_timer_t timer;