summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-04 17:24:28 +0000
committerChris Lattner <sabre@nondot.org>2007-04-04 17:24:28 +0000
commitc770a0273d7f65e7949f20462c62c3f7d2af5c5b (patch)
treebc4a05a5f4bb776f87a0591998dba75ac9b32223 /llvm/lib/Support
parent5a1c750f3199abcbc707c39b700e79d5cde4f28f (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud