Explorar el Código

stringmap memory managed with malloc now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35666 91177308-0d34-0410-b5e6-96231b3b80d8
Chris Lattner hace 18 años
padre
commit
12ba806c5d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Support/StringMap.cpp

+ 1 - 1
lib/Support/StringMap.cpp

@@ -227,7 +227,7 @@ void StringMapImpl::RehashTable() {
     }
   }
   
-  delete[] TheTable;
+  free(TheTable);
   
   TheTable = NewTableArray;
   NumBuckets = NewSize;