diff options
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc index b444077fd24..fb44949c5fa 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc @@ -45,8 +45,6 @@ void ThreadFinalize(ThreadState *thr) { if (tctx == 0) continue; MaybeReportThreadLeak(tctx); - DestroyAndFree(tctx); - ctx->threads[i] = 0; } } @@ -222,7 +220,6 @@ void ThreadFinish(ThreadState *thr) { thr->~ThreadState(); StatAggregate(ctx->stat, thr->stat); - InternalAllocStatAggregate(ctx, thr); tctx->thr = 0; } |

