Skip to content

Commit

Permalink
Fixed a memory leak.
Browse files Browse the repository at this point in the history
This closes #2 RP on GitHub.
From f13cca0
  • Loading branch information
avagin committed Sep 8, 2017
1 parent 22c6805 commit 962f127
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nxt_epoll_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 962f127

Please sign in to comment.