stringmap memory managed with malloc now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-04 17:24:28 +00:00
parent 86796bec50
commit 12ba806c5d

View File

@ -227,7 +227,7 @@ void StringMapImpl::RehashTable() {
}
}
delete[] TheTable;
free(TheTable);
TheTable = NewTableArray;
NumBuckets = NewSize;