< prev index next >

src/hotspot/share/classfile/moduleEntry.cpp

Print this page
@@ -309,11 +309,11 @@
    return entry;
  }
  
  void ModuleEntry::delete_unnamed_module() {
    // Do not need unlink_entry() since the unnamed module is not in the hashtable
-   FREE_C_HEAP_ARRAY(char, this);
+   FREE_C_HEAP_OBJ(this);
  }
  
  ModuleEntryTable::ModuleEntryTable(int table_size)
    : Hashtable<Symbol*, mtModule>(table_size, sizeof(ModuleEntry))
  {
< prev index next >