summaryrefslogtreecommitdiffstats
path: root/libelf/elf_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/elf_end.c')
-rw-r--r--libelf/elf_end.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libelf/elf_end.c b/libelf/elf_end.c
index 5112eaea..6392eaf7 100644
--- a/libelf/elf_end.c
+++ b/libelf/elf_end.c
@@ -241,6 +241,7 @@ elf_end (elf)
munmap (elf->map_address, elf->maximum_size);
}
+ rwlock_unlock (elf->lock);
rwlock_fini (elf->lock);
/* Finally the descriptor itself. */