aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Analysis/ExplodedGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Analysis/ExplodedGraph.cpp b/Analysis/ExplodedGraph.cpp
index 61548e9b27..35e9d9de9a 100644
--- a/Analysis/ExplodedGraph.cpp
+++ b/Analysis/ExplodedGraph.cpp
@@ -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;
}