Latest update - 7576
This commit is contained in:
@@ -174,12 +174,7 @@ ngx_rbtree_delete(ngx_rbtree_t *tree, ngx_rbtree_node_t *node)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
subst = ngx_rbtree_min(node->right, sentinel);
|
subst = ngx_rbtree_min(node->right, sentinel);
|
||||||
|
temp = subst->right;
|
||||||
if (subst->left != sentinel) {
|
|
||||||
temp = subst->left;
|
|
||||||
} else {
|
|
||||||
temp = subst->right;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (subst == *root) {
|
if (subst == *root) {
|
||||||
|
|||||||
Reference in New Issue
Block a user