Skip to content

dialog: Don't leak child breakpoint bin

Matthijs Velsink requested to merge wip/velsinki/dialog-fix-leak into main

The child_breakpoint_bin can get unparented during update_presentation(), so reffing it is needed. However, that should only happen after all early return possibilities have passed, otherwise this reference can leak.

This moves the reference to after the last possibility for early return.

Merge request reports