Run ~GRState() when reclaiming GRStates.

llvm-svn: 125262
This commit is contained in:
Ted Kremenek 2011-02-10 03:07:40 +00:00
parent 75e4564140
commit 1656db69f3
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ void GRStateManager::recycleUnusedStates() {
continue;
StateSet.RemoveNode(state);
freeStates.push_back(state);
state->~GRState();
}
recentlyAllocatedStates.clear();
}