Skip to content
Commit dfec225e authored by JeffyChen's avatar JeffyChen Committed by Florian Weimer
Browse files

malloc: Initiate tcache shutdown even without allocations [BZ #28028]



After commit 1e26d351 ("malloc: Fix
tcache leak after thread destruction [BZ #22111]"),
tcache_shutting_down is still not early enough.  When we detach a
thread with no tcache allocated, tcache_shutting_down would still be
false.

Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
parent 784fff6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment