Update fix

Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
This commit is contained in:
Matthew Ballance 2025-12-20 21:25:05 +00:00
parent 9229b8ea2f
commit b4a131e9b6
1 changed files with 2 additions and 1 deletions

View File

@ -963,6 +963,7 @@ void AstNode::deleteTreeIter() {
skipDelete = true;
}
nodep->m_backp = nullptr;
if (!skipDelete) {
nodep->deleteNode();