# HG changeset patch # User mbaesken # Date 1543237463 -3600 # Node ID b80549fdb52fa17944c25c21559e4edfe342537c # Parent 99eb43bc3595db19abceda56498e7288031f3199 8214297: testbug : missing fclose in jvmti_aod.cpp Reviewed-by: coleenp, stuefe diff -r 99eb43bc3595 -r b80549fdb52f test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/aod/jvmti_aod.cpp --- a/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/aod/jvmti_aod.cpp Tue Nov 27 13:02:28 2018 +0100 +++ b/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/aod/jvmti_aod.cpp Mon Nov 26 14:04:23 2018 +0100 @@ -263,6 +263,7 @@ 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; }