[llvm-commits] CVS: llvm/lib/Support/StringMap.cpp

Chris Lattner sabre at nondot.org
Wed Apr 4 10:24:45 PDT 2007



Changes in directory llvm/lib/Support:

StringMap.cpp updated: 1.12 -> 1.13
---
Log message:

stringmap memory managed with malloc now


---
Diffs of the changes:  (+1 -1)

 StringMap.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Support/StringMap.cpp
diff -u llvm/lib/Support/StringMap.cpp:1.12 llvm/lib/Support/StringMap.cpp:1.13
--- llvm/lib/Support/StringMap.cpp:1.12	Tue Apr  3 19:44:31 2007
+++ llvm/lib/Support/StringMap.cpp	Wed Apr  4 12:24:28 2007
@@ -227,7 +227,7 @@
     }
   }
   
-  delete[] TheTable;
+  free(TheTable);
   
   TheTable = NewTableArray;
   NumBuckets = NewSize;






More information about the llvm-commits mailing list