summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2002-08-13 16:54:07 +0000
committerJohn Polstra <jdp@FreeBSD.org>2002-08-13 16:54:07 +0000
commit8c7580241e93f91650a6c55c4f365a722ea7a7c7 (patch)
treec349a4a05cc7703dc8eb74a7b843a60188c48bda /libexec
parent50405dc2d69fc6b0da7c959726c56774e9ec0cdc (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index 6b32271b0df1..bb10144a569e 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -1425,11 +1425,9 @@ rtld_exit(void)
Obj_Entry *obj;
dbg("rtld_exit()");
- wlock_acquire();
/* Clear all the reference counts so the fini functions will be called. */
for (obj = obj_list; obj != NULL; obj = obj->next)
obj->refcount = 0;
- wlock_release();
objlist_call_fini(&list_fini);
/* No need to remove the items from the list, since we are exiting. */
}