mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Internals: Create VL_DO_DANGLING. No functional change intended.
This commit is contained in:
@@ -73,7 +73,7 @@ GraphPathChecker::~GraphPathChecker() {
|
||||
for (V3GraphVertex* vxp = m_graphp->verticesBeginp();
|
||||
vxp; vxp = vxp->verticesNextp()) {
|
||||
GraphPCNode* nodep = static_cast<GraphPCNode*>(vxp->userp());
|
||||
delete nodep; VL_DANGLING(nodep);
|
||||
VL_DO_DANGLING(delete nodep, nodep);
|
||||
vxp->userp(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user