< prev index next >

src/hotspot/share/prims/unsafe.cpp

Print this page
@@ -873,13 +873,11 @@
    if (anon_klass != NULL) {
      res_jh = JNIHandles::make_local(env, anon_klass->java_mirror());
    }
  
    // 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
    // it alive afterwards.
    if (anon_klass != NULL) {
< prev index next >