diff options
author | thegeorg <[email protected]> | 2022-05-10 11:24:08 +0300 |
---|---|---|
committer | thegeorg <[email protected]> | 2022-05-10 11:24:08 +0300 |
commit | 3eee94a865e8dff399329dee911906cddb7b0d67 (patch) | |
tree | 90049cea53c3a2850723b8104f922d1fc70e94b1 /contrib/libs/jemalloc/src/hook.c | |
parent | 8d4afd14b8ae14ffb50992a59dc674e30e076a8e (diff) |
Update contrib/libs/jemalloc to 5.3.0
ref:984a35af48908b64eabafda01bb2e47403689121
Diffstat (limited to 'contrib/libs/jemalloc/src/hook.c')
-rw-r--r-- | contrib/libs/jemalloc/src/hook.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/jemalloc/src/hook.c b/contrib/libs/jemalloc/src/hook.c index 9ac703cf9f5..493edbbe512 100644 --- a/contrib/libs/jemalloc/src/hook.c +++ b/contrib/libs/jemalloc/src/hook.c @@ -130,9 +130,9 @@ hook_reentrantp() { */ static bool in_hook_global = true; tsdn_t *tsdn = tsdn_fetch(); - tcache_t *tcache = tsdn_tcachep_get(tsdn); - if (tcache != NULL) { - return &tcache->in_hook; + bool *in_hook = tsdn_in_hookp_get(tsdn); + if (in_hook!= NULL) { + return in_hook; } return &in_hook_global; } |