mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-28 11:23:08 +03:00
Small refactors around 7bb05e0.
This commit is contained in:
parent
3c4b717ffc
commit
83f3294027
7 changed files with 21 additions and 23 deletions
|
|
@ -570,8 +570,7 @@ arena_choose_hard(tsd_t *tsd, bool internal) {
|
|||
/* Initialize a new arena. */
|
||||
choose[j] = first_null;
|
||||
arena = arena_init_locked(tsd_tsdn(tsd),
|
||||
choose[j],
|
||||
&arena_config_default);
|
||||
choose[j], &arena_config_default);
|
||||
if (arena == NULL) {
|
||||
malloc_mutex_unlock(tsd_tsdn(tsd),
|
||||
&arenas_lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue