diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-04 17:24:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-04 17:24:28 +0000 |
commit | c770a0273d7f65e7949f20462c62c3f7d2af5c5b (patch) | |
tree | bc4a05a5f4bb776f87a0591998dba75ac9b32223 /llvm/lib/Support | |
parent | 5a1c750f3199abcbc707c39b700e79d5cde4f28f (diff) | |
download | bcm5719-llvm-c770a0273d7f65e7949f20462c62c3f7d2af5c5b.tar.gz bcm5719-llvm-c770a0273d7f65e7949f20462c62c3f7d2af5c5b.zip |
stringmap memory managed with malloc now
llvm-svn: 35666
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/StringMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/StringMap.cpp b/llvm/lib/Support/StringMap.cpp index e7263e247b3..ae0dca7f72d 100644 --- a/llvm/lib/Support/StringMap.cpp +++ b/llvm/lib/Support/StringMap.cpp @@ -227,7 +227,7 @@ void StringMapImpl::RehashTable() { } } - delete[] TheTable; + free(TheTable); TheTable = NewTableArray; NumBuckets = NewSize; |