[cfe-commits] r125262 - /cfe/trunk/lib/StaticAnalyzer/Core/GRState.cpp
Ted Kremenek
kremenek at apple.com
Wed Feb 9 19:07:40 PST 2011
Author: kremenek
Date: Wed Feb 9 21:07:40 2011
New Revision: 125262
URL: http://llvm.org/viewvc/llvm-project?rev=125262&view=rev
Log:
Run ~GRState() when reclaiming GRStates.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/GRState.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/GRState.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/GRState.cpp?rev=125262&r1=125261&r2=125262&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/GRState.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/GRState.cpp Wed Feb 9 21:07:40 2011
@@ -293,6 +293,7 @@
continue;
StateSet.RemoveNode(state);
freeStates.push_back(state);
+ state->~GRState();
}
recentlyAllocatedStates.clear();
}
More information about the cfe-commits
mailing list