summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/generic/dl-tls.c
diff options
context:
space:
mode:
authorMingxiang Lu <lu.mingxiang@h3c.com>2024-09-29 20:26:43 +0800
committerWaldemar Brodkorb <wbx@openadk.org>2024-10-30 12:07:59 +0100
commitf8028afeaffd727bc335681491b25a6f8fe51f4d (patch)
tree46d9d114ae33a3191b9f24e3278a92d25e452cde /libpthread/nptl/sysdeps/generic/dl-tls.c
parent3e7f46572e4a2e12c8cae5f04b37f3ea30d41656 (diff)
fix TLS memory leak with dlopenHEADmaster
Signed-off-by: Mingxiang Lu <lu.mingxiang@h3c.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'libpthread/nptl/sysdeps/generic/dl-tls.c')
-rw-r--r--libpthread/nptl/sysdeps/generic/dl-tls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/generic/dl-tls.c b/libpthread/nptl/sysdeps/generic/dl-tls.c
index 7d25e4706..7b7991be8 100644
--- a/libpthread/nptl/sysdeps/generic/dl-tls.c
+++ b/libpthread/nptl/sysdeps/generic/dl-tls.c
@@ -45,8 +45,6 @@
to allow dynamic loading of modules defining IE-model TLS data. */
# define TLS_STATIC_SURPLUS 64 + DL_NNS * 100
-/* Value used for dtv entries for which the allocation is delayed. */
-# define TLS_DTV_UNALLOCATED ((void *) -1l)
#ifndef SHARED
extern dtv_t static_dtv;