From 9eb1eb548af13171432275942aabe4a81fb6d73b Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Sun, 8 Feb 2009 06:44:58 +0000 Subject: [PATCH] Fix leak of kqueue() file descriptors when linked with static libc_r. PR: 58687 Submitted by: Jonathon Lennox --- lib/libc_r/uthread/uthread_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c index 45f969c527ab..7c8c44470d5b 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,