From 25785f91659cdfa5657f9922f2caefb50d0714e9 Mon Sep 17 00:00:00 2001 From: David Xu Date: Sat, 5 May 2007 08:44:59 +0000 Subject: [PATCH] Fix a TLS memory leak. PR: threads/112297 MFC: 1 week --- libexec/rtld-elf/rtld.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index ce4de3f6e3b0..034c8ed34ae5 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