--- /usr/src/libexec/rtld-elf/rtld.c Tue Jun 25 23:31:49 2002 +++ /usr/src/libexec/rtld-elf/rtld.c Thu Aug 8 11:00:28 2002 @@ -1425,11 +1425,9 @@ 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. */ }