Add missing deregister before extents_leak.
This fixes an regression introduced by 211b1f3
(refactor extent split).
This commit is contained in:
parent
e475d03752
commit
26a8f82c48
@ -988,6 +988,7 @@ extent_recycle_split(tsdn_t *tsdn, arena_t *arena,
|
||||
extent_deregister(tsdn, to_salvage);
|
||||
}
|
||||
if (to_leak != NULL) {
|
||||
extent_deregister(tsdn, to_leak);
|
||||
extents_leak(tsdn, arena, r_extent_hooks, extents,
|
||||
to_leak, growing_retained);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user