Skip to content
Commit 0a947e06 authored by Florian Weimer's avatar Florian Weimer
Browse files

malloc: Call tcache destructor in arena_thread_freeres



It does not make sense to register separate cleanup functions for arena
and tcache since they're always going to be called together.  Call the
tcache cleanup function from within arena_thread_freeres since it at
least makes the order of those cleanups clear in the code.

Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent 67f36c79
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