diff --git a/src/util/RedBlackTree.hxx b/src/util/RedBlackTree.hxx index 2cffb156f..73d1c35af 100644 --- a/src/util/RedBlackTree.hxx +++ b/src/util/RedBlackTree.hxx @@ -289,6 +289,7 @@ public: assert(successor.parent != this); successor.parent->SetChild(Direction::LEFT, *this); + successor.SetChild(Direction::RIGHT, &right); } p.SetChild(direction_in_parent, successor);