mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
This commit is contained in:
parent
eafb888c18
commit
4b6f9ed07f
44 changed files with 86 additions and 183 deletions
|
@ -875,9 +875,7 @@ UNSAFE_ENTRY(jclass, Unsafe_DefineAnonymousClass0(JNIEnv *env, jobject unsafe, j
|
|||
}
|
||||
|
||||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue