diff options
author | deischen <deischen@FreeBSD.org> | 2009-02-08 06:44:58 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2009-02-08 06:44:58 +0000 |
commit | 994021ecb587ed0a3ea6f8b8872978995de796fe (patch) | |
tree | f5d05c06ca8c1c85e98b031c98159f766e0cfb9f /lib | |
parent | 6ae5f1f3109d4b319d0559a4b7fb7e1c1eccef95 (diff) | |
download | FreeBSD-src-994021ecb587ed0a3ea6f8b8872978995de796fe.zip FreeBSD-src-994021ecb587ed0a3ea6f8b8872978995de796fe.tar.gz |
Fix leak of kqueue() file descriptors when linked with static
libc_r.
PR: 58687
Submitted by: Jonathon Lennox <lennox at cs dot columbia dot edu>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc_r/uthread/uthread_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c index 45f969c..7c8c444 100644 --- a/lib/libc_r/uthread/uthread_init.c +++ b/lib/libc_r/uthread/uthread_init.c @@ -95,6 +95,7 @@ static void *references[] = { &_getsockopt, &_ioctl, &_kevent, + &_kqueue, &_listen, &_nanosleep, &_open, |