mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Plug memory leaks (#5016)
This commit is contained in:
@@ -294,6 +294,7 @@ void V3DfgPasses::eliminateVars(DfgGraph& dfg, V3DfgEliminateVarsContext& ctx) {
|
||||
vtxp->forEachSource(addToWorkList);
|
||||
// Remove the unused vertex
|
||||
vtxp->unlinkDelete(dfg);
|
||||
continue;
|
||||
}
|
||||
|
||||
// We can only eliminate DfgVarPacked vertices at the moment
|
||||
|
||||
Reference in New Issue
Block a user