]> granicus.if.org Git - libevent/commit
epoll: close fd on alloc fail at initialization
authorJamie Iles <jamie.iles@mathembedded.com>
Wed, 26 Oct 2011 12:24:30 +0000 (13:24 +0100)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 Oct 2011 14:14:49 +0000 (10:14 -0400)
commit1aee718362f8bc88369d750bdb87b4f8af48af28
tree91d2a644644360f5d1c5d993baf1dfe5c04e27dd
parent3c824bd3347a4f317481af56f26f3f7dc58e5e90
epoll: close fd on alloc fail at initialization

If the memory allocations fail then we free any other allocated
structures but don't close the file descriptor resulting in an leak of
fd's.
epoll.c