From b4a131e9b6a0e4564a3d9ce9fc563f283f25ccb4 Mon Sep 17 00:00:00 2001 From: Matthew Ballance Date: Sat, 20 Dec 2025 21:25:05 +0000 Subject: [PATCH] Update fix Signed-off-by: Matthew Ballance --- src/V3Ast.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/V3Ast.cpp b/src/V3Ast.cpp index 985c93003..dd3aed046 100644 --- a/src/V3Ast.cpp +++ b/src/V3Ast.cpp @@ -962,7 +962,8 @@ void AstNode::deleteTreeIter() { // (via AstVarScope) and delete it properly (at which point backp will be null). skipDelete = true; } - + + nodep->m_backp = nullptr; if (!skipDelete) { nodep->deleteNode();