summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_epoll_engine.c
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@virtuozzo.com>2017-09-08 14:10:48 -0700
committerAndrei Vagin <avagin@virtuozzo.com>2017-09-08 14:10:48 -0700
commit962f1279391ce3fbf555447c48c37fc3455f13b2 (patch)
tree196240e23f9a6e1c3ea469e342bb5be1ebce3b82 /src/nxt_epoll_engine.c
parent22c6805949417efdf6ab6c47c498f3a30cfb6f21 (diff)
downloadunit-962f1279391ce3fbf555447c48c37fc3455f13b2.tar.gz
unit-962f1279391ce3fbf555447c48c37fc3455f13b2.tar.bz2
Fixed a memory leak.
This closes #2 RP on GitHub. From f13cca01b7aa489dcb6909513f2b781b36ac7fea
Diffstat (limited to 'src/nxt_epoll_engine.c')
-rw-r--r--src/nxt_epoll_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_epoll_engine.c b/src/nxt_epoll_engine.c
index 410c542d..4e2dd5c0 100644
--- a/src/nxt_epoll_engine.c
+++ b/src/nxt_epoll_engine.c
@@ -351,6 +351,7 @@ nxt_epoll_free(nxt_event_engine_t *engine)
}
nxt_free(engine->u.epoll.events);
+ nxt_free(engine->u.epoll.changes);
nxt_memzero(&engine->u.epoll, sizeof(nxt_epoll_engine_t));
}