]> granicus.if.org Git - libevent/commit
Fix potential fd leak in listener_read_cb()
authorMark Ellzey <socket@gmail.com>
Tue, 28 Apr 2015 02:43:04 +0000 (22:43 -0400)
committerMark Ellzey <socket@gmail.com>
Tue, 28 Apr 2015 02:43:04 +0000 (22:43 -0400)
commita695a720cda892c270736d127333d73553842094
treeb4d12081eda966adfbf2dd1e4c8be952f7853281
parent6e7a580c15a7722f94630184189ae3af6afabdd9
Fix potential fd leak in listener_read_cb()

As pointed out by harlan_ in #libevent after running a coverity sweep.
If the listener is free'd, 'new_fd' is never closed.
listener.c