< prev index next >

src/hotspot/share/runtime/perfData.cpp

Print this page
@@ -111,13 +111,11 @@
      }
    }
  }
  
  PerfData::~PerfData() {
-   if (_name != NULL) {
-     FREE_C_HEAP_ARRAY(char, _name);
-   }
+   FREE_C_HEAP_ARRAY(char, _name);
    if (is_on_c_heap()) {
      FREE_C_HEAP_ARRAY(PerfDataEntry, _pdep);
    }
  }
  
< prev index next >