summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
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