src/hotspot/share/prims/unsafe.cpp
changeset 58084 cddef3bde924
parent 57804 9b7b9f16dfd9
child 58177 4932dce35882
--- a/src/hotspot/share/prims/unsafe.cpp	Wed Sep 11 14:16:27 2019 +0200
+++ b/src/hotspot/share/prims/unsafe.cpp	Wed Sep 11 14:16:30 2019 +0200
@@ -875,9 +875,7 @@
   }
 
   // try/finally clause:
-  if (temp_alloc != NULL) {
-    FREE_C_HEAP_ARRAY(u1, temp_alloc);
-  }
+  FREE_C_HEAP_ARRAY(u1, temp_alloc);
 
   // The anonymous class loader data has been artificially been kept alive to
   // this point.   The mirror and any instances of this class have to keep