fix cleanup regression (#2632)

pull/2635/head
patryk4815 12 months ago committed by GitHub
parent 6a6203148b
commit ea25cb5fb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -69,7 +69,7 @@ def rb_parent(node: gdb.Value) -> gdb.Value:
def rb_empty_node(node: gdb.Value) -> bool:
return int(node["__rb_parent_color"]) == int(node.address)
return int(node["__rb_parent_color"]) == int(node.address or 0)
def rb_next(node: gdb.Value) -> gdb.Value | None:

Loading…
Cancel
Save