forked from OSchip/llvm-project
Fixed bug in cleanup of nodes in ExplodedNodeImpl where we should directly
call the dstor instead of using delete. llvm-svn: 46084
This commit is contained in:
parent
a65e1f3b31
commit
deac51943a
|
@ -80,7 +80,7 @@ ExplodedGraphImpl::~ExplodedGraphImpl() {
|
|||
|
||||
for (llvm::FoldingSet<ExplodedNodeImpl>::iterator
|
||||
I=ENodes->begin(), E=ENodes->end(); I!=E; ++I)
|
||||
delete &*I;
|
||||
(*I).~ExplodedNodeImpl();
|
||||
|
||||
delete ENodes;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue