From: Chris Lattner Date: Wed, 4 Apr 2007 17:24:28 +0000 (+0000) Subject: stringmap memory managed with malloc now X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=12ba806c5d9ab0b45e41d7dc3d7af235f87d5e7e;p=oota-llvm.git stringmap memory managed with malloc now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35666 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/StringMap.cpp b/lib/Support/StringMap.cpp index e7263e247b3..ae0dca7f72d 100644 --- a/lib/Support/StringMap.cpp +++ b/lib/Support/StringMap.cpp @@ -227,7 +227,7 @@ void StringMapImpl::RehashTable() { } } - delete[] TheTable; + free(TheTable); TheTable = NewTableArray; NumBuckets = NewSize;