hotspot/src/share/vm/memory/filemap.cpp
changeset 27926 0e2e188ab887
parent 27562 47f369e3c69c
parent 27880 afb974a04396
child 28023 a4075664328d
--- a/hotspot/src/share/vm/memory/filemap.cpp	Wed Jul 05 20:10:08 2017 +0200
+++ b/hotspot/src/share/vm/memory/filemap.cpp	Fri Dec 05 16:36:07 2014 -0800
@@ -331,7 +331,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;
   }
@@ -714,7 +714,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;