OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86796be
)
stringmap memory managed with malloc now
author
Chris Lattner
<sabre@nondot.org>
Wed, 4 Apr 2007 17:24:28 +0000
(17:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 4 Apr 2007 17:24:28 +0000
(17:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35666
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/StringMap.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/StringMap.cpp
b/lib/Support/StringMap.cpp
index
e7263e2
..
ae0dca7
100644
(file)
--- 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;