diff options
Diffstat (limited to 'libexec/ld.so/resolve.c')
-rw-r--r-- | libexec/ld.so/resolve.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c index e17ab6e315c..4cfe0dcd9f2 100644 --- a/libexec/ld.so/resolve.c +++ b/libexec/ld.so/resolve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolve.c,v 1.39 2005/10/06 21:53:10 kurt Exp $ */ +/* $OpenBSD: resolve.c,v 1.40 2005/10/06 22:01:58 kurt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -215,8 +215,6 @@ _dl_cleanup_objects() void _dl_remove_object(elf_object_t *object) { - elf_object_t *depobj; - object->prev->next = object->next; if (object->next) object->next->prev = object->prev; @@ -224,11 +222,6 @@ _dl_remove_object(elf_object_t *object) if (_dl_last_object == object) _dl_last_object = object->prev; - while ((depobj = object->dep_next)) { - object->dep_next = object->dep_next->dep_next; - _dl_free(depobj); - } - object->next = free_objects; free_objects = object; } |