summaryrefslogtreecommitdiff
path: root/thread_local_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_local_alloc.c')
-rw-r--r--thread_local_alloc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/thread_local_alloc.c b/thread_local_alloc.c
index d7031e3b..36289101 100644
--- a/thread_local_alloc.c
+++ b/thread_local_alloc.c
@@ -128,9 +128,6 @@ GC_INNER void GC_destroy_thread_local(GC_tlfs p)
{
/* We currently only do this from the thread itself or from */
/* the fork handler for a child process. */
-# ifndef HANDLE_FORK
- GC_ASSERT(GC_getspecific(GC_thread_key) == (void *)p);
-# endif
return_freelists(p -> ptrfree_freelists, GC_aobjfreelist);
return_freelists(p -> normal_freelists, GC_objfreelist);
# ifdef GC_GCJ_SUPPORT