mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix memory leaks - batch 3 (#6419)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user