diff options
-rw-r--r-- | libexec/rtld-elf/rtld.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 36102ba..0d4e972 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1657,6 +1657,7 @@ load_object(const char *name, const Obj_Entry *refobj, int flags) } if (flags & RTLD_LO_NOLOAD) { free(path); + close(fd); return (NULL); } |