src/hotspot/share/gc/cms/gSpaceCounters.cpp
changeset 58084 cddef3bde924
parent 48157 7c4d43c26352
--- a/src/hotspot/share/gc/cms/gSpaceCounters.cpp	Wed Sep 11 14:16:27 2019 +0200
+++ b/src/hotspot/share/gc/cms/gSpaceCounters.cpp	Wed Sep 11 14:16:30 2019 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -74,5 +74,5 @@
 }
 
 GSpaceCounters::~GSpaceCounters() {
-  if (_name_space != NULL) FREE_C_HEAP_ARRAY(char, _name_space);
+  FREE_C_HEAP_ARRAY(char, _name_space);
 }