зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
2a625bcfa2
Коммит
5617fae541
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче