diff options
author | Jamie Iles <jamie.iles@mathembedded.com> | 2011-10-26 13:24:30 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-26 10:14:49 -0400 |
commit | 1aee718362f8bc88369d750bdb87b4f8af48af28 (patch) | |
tree | 91d2a644644360f5d1c5d993baf1dfe5c04e27dd /bufferevent_ratelim.c | |
parent | 3c824bd3347a4f317481af56f26f3f7dc58e5e90 (diff) | |
download | libevent-1aee718362f8bc88369d750bdb87b4f8af48af28.tar.gz |
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.
Diffstat (limited to 'bufferevent_ratelim.c')
0 files changed, 0 insertions, 0 deletions