diff options
-rw-r--r-- | lib/StaticAnalyzer/Core/GRState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/GRState.cpp b/lib/StaticAnalyzer/Core/GRState.cpp index e33c501b3c..5fddcec94c 100644 --- a/lib/StaticAnalyzer/Core/GRState.cpp +++ b/lib/StaticAnalyzer/Core/GRState.cpp @@ -293,6 +293,7 @@ void GRStateManager::recycleUnusedStates() { continue; StateSet.RemoveNode(state); freeStates.push_back(state); + state->~GRState(); } recentlyAllocatedStates.clear(); } |