summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2009-02-08 06:44:58 +0000
committerdeischen <deischen@FreeBSD.org>2009-02-08 06:44:58 +0000
commit994021ecb587ed0a3ea6f8b8872978995de796fe (patch)
treef5d05c06ca8c1c85e98b031c98159f766e0cfb9f /lib
parent6ae5f1f3109d4b319d0559a4b7fb7e1c1eccef95 (diff)
downloadFreeBSD-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.c1
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,
OpenPOWER on IntegriCloud