hotspot/src/share/vm/memory/filemap.cpp
changeset 27880 afb974a04396
parent 27025 f4805f778f16
child 27926 0e2e188ab887
child 28017 84009002b566
--- a/hotspot/src/share/vm/memory/filemap.cpp	Fri Nov 28 16:33:57 2014 +0100
+++ b/hotspot/src/share/vm/memory/filemap.cpp	Mon Dec 01 12:16:15 2014 -0500
@@ -326,7 +326,7 @@
   n = os::read(fd, _paths_misc_info, (unsigned int)info_size);
   if (n != info_size) {
     fail_continue("Unable to read the shared path info header.");
-    FREE_C_HEAP_ARRAY(char, _paths_misc_info, mtClass);
+    FREE_C_HEAP_ARRAY(char, _paths_misc_info);
     _paths_misc_info = NULL;
     return false;
   }
@@ -709,7 +709,7 @@
   }
 
   if (_paths_misc_info != NULL) {
-    FREE_C_HEAP_ARRAY(char, _paths_misc_info, mtClass);
+    FREE_C_HEAP_ARRAY(char, _paths_misc_info);
     _paths_misc_info = NULL;
   }
   return status;