summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-05-05 08:44:59 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-05-05 08:44:59 +0000
commita037728652f99e0b41bdb6131e00446ba7a8f5ec (patch)
tree5d25d0b25419c3b75abd6b8b62b7ad9351ce7b95
parentf4793dc542c19aa7259e438769bb660f2de71bb3 (diff)
downloadFreeBSD-src-a037728652f99e0b41bdb6131e00446ba7a8f5ec.zip
FreeBSD-src-a037728652f99e0b41bdb6131e00446ba7a8f5ec.tar.gz
Fix a TLS memory leak.
PR: threads/112297 MFC: 1 week
-rw-r--r--libexec/rtld-elf/rtld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index ce4de3f..034c8ed 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -3022,6 +3022,7 @@ free_tls(void *tls, size_t tcbsize, size_t tcbalign)
}
free((void*) tlsstart);
+ free((void*) dtv);
}
#endif
OpenPOWER on IntegriCloud