Fixed memory leak occurring upon failure to accept a connection.

This commit is contained in:
Igor Sysoev
2020-04-15 15:10:14 +03:00
parent 04143c8c7e
commit ee62736a11
2 changed files with 11 additions and 12 deletions

View File

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