mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-04 11:14:20 +03:00
Extent -> Ehooks: Move dalloc hook.
This commit is contained in:
parent
dc8b4e6e13
commit
bac8e2e5a6
4 changed files with 34 additions and 34 deletions
|
|
@ -81,7 +81,7 @@ base_unmap(tsdn_t *tsdn, ehooks_t *ehooks, unsigned ind, void *addr,
|
|||
} else {
|
||||
tsd_t *tsd = tsdn_null(tsdn) ? tsd_fetch() : tsdn_tsd(tsdn);
|
||||
pre_reentrancy(tsd, NULL);
|
||||
if (!ehooks_dalloc(ehooks, addr, size, true, ind)) {
|
||||
if (!ehooks_dalloc(tsdn, ehooks, addr, size, true, ind)) {
|
||||
goto label_post_reentrancy;
|
||||
}
|
||||
if (!ehooks_decommit(ehooks, addr, size, 0, size, ind)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue