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();
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits