summaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/rtld.c
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2002-08-08 15:53:23 +0000
committerJohn Polstra <jdp@FreeBSD.org>2002-08-08 15:53:23 +0000
commit0df23e4bd549257be378a9ec58c75a1fc581b2f1 (patch)
treeb0f57a5f520468f450d610352140d360fdedccaa /libexec/rtld-elf/rtld.c
parentfd78f7e0f34bc2581a2e0b0de8dd1149549aac14 (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/rtld.c')
-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 8f3f4d42b675..a007ff5c1d1b 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -1460,11 +1460,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. */
}