From 5617fae5418ad2dcaf69e2422f8087a2bdb82a76 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 6 Mar 2008 08:09:22 +0000 Subject: [PATCH] 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 --- Analysis/GRBlockCounter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Analysis/GRBlockCounter.cpp b/Analysis/GRBlockCounter.cpp index 9dd601b720..3ecc39d322 100644 --- a/Analysis/GRBlockCounter.cpp +++ b/Analysis/GRBlockCounter.cpp @@ -39,7 +39,7 @@ GRBlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { } GRBlockCounter::Factory::~Factory() { - delete static_cast(F); + delete static_cast(F); } GRBlockCounter