Fix memory leaks - batch 3 (#6419)

This commit is contained in:
Geza Lore
2025-09-11 12:01:36 +01:00
committed by GitHub
parent f1396fbced
commit 56927fb955
26 changed files with 112 additions and 51 deletions
+1
View File
@@ -1706,6 +1706,7 @@ V3TaskConnects V3Task::taskConnects(AstNodeFTaskRef* nodep, AstNode* taskStmtsp,
pinp->v3error("Duplicate argument " << argp->prettyNameQ()
<< " in function call to "
<< nodep->taskp()->prettyTypeName());
tconnects[it->second].second->unlinkFrBack()->deleteTree();
}
tconnects[it->second].second = argp;
reorganize = true;