hotspot/src/os/aix/vm/perfMemory_aix.cpp
changeset 30198 ec621727bd41
parent 28611 2eb1ab939ba4
child 32387 a376fff9d4a5
--- a/hotspot/src/os/aix/vm/perfMemory_aix.cpp	Wed Mar 25 15:50:17 2015 +0100
+++ b/hotspot/src/os/aix/vm/perfMemory_aix.cpp	Thu Mar 19 14:30:52 2015 +0100
@@ -797,7 +797,7 @@
   // Close the directory and reset the current working directory.
   close_directory_secure_cwd(dirp, saved_cwd_fd);
 
-  FREE_C_HEAP_ARRAY(char, dbuf, mtInternal);
+  FREE_C_HEAP_ARRAY(char, dbuf);
 }
 
 // Make the user specific temporary directory. Returns true if
@@ -1164,9 +1164,9 @@
   // store file, we don't follow them when attaching either.
   //
   if (!is_directory_secure(dirname)) {
-    FREE_C_HEAP_ARRAY(char, dirname, mtInternal);
+    FREE_C_HEAP_ARRAY(char, dirname);
     if (luser != user) {
-      FREE_C_HEAP_ARRAY(char, luser, mtInternal);
+      FREE_C_HEAP_ARRAY(char, luser);
     }
     THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(),
               "Process not found");