Skip to content
Snippets Groups Projects
Commit 5617fae5 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Fixed mismatched deallocation in GRBlockCounter::Factory::~Factory.

Reported by Zhongxing Xu!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47991 91177308-0d34-0410-b5e6-96231b3b80d8
parent 2a625bcf
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ GRBlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) {
}
GRBlockCounter::Factory::~Factory() {
delete static_cast<CountMap*>(F);
delete static_cast<CountMap::Factory*>(F);
}
GRBlockCounter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment