mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 09:03:33 +03:00
Do not maintain root->prev in ph_remove.
This commit is contained in:
parent
543e2d61e6
commit
be6da4f663
1 changed files with 0 additions and 3 deletions
|
|
@ -380,9 +380,6 @@ ph_remove(ph_t *ph, void *phn, size_t offset, ph_cmp_t cmp) {
|
||||||
*/
|
*/
|
||||||
if (phn_lchild_get(phn, offset) == NULL) {
|
if (phn_lchild_get(phn, offset) == NULL) {
|
||||||
ph->root = phn_next_get(phn, offset);
|
ph->root = phn_next_get(phn, offset);
|
||||||
if (ph->root != NULL) {
|
|
||||||
phn_prev_set(ph->root, NULL, offset);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ph_merge_aux(ph, offset, cmp);
|
ph_merge_aux(ph, offset, cmp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue