8214297: testbug : missing fclose in jvmti_aod.cpp

Reviewed-by: coleenp, stuefe
This commit is contained in:
Matthias Baesken 2018-11-26 14:04:23 +01:00
parent e524f41fbf
commit 9debae9783

View File

@ -263,6 +263,7 @@ int nsk_jvmti_aod_redefineClass(
error = jvmti->Allocate(size, &classBytes);
if (error != JVMTI_ERROR_NONE) {
NSK_DISPLAY1("Failed to create memory %s\n", TranslateError(error));
fclose(bytecode);
return NSK_FALSE;
}