changed return to cleanup in getAllConfigs changed cleanup to loop thru and free all allocated memory adjacent to graphicsConfig pointer
------------- Commit messages: - corrected loop thru graphicsConfigs - init commit Changes: https://git.openjdk.org/jdk/pull/10378/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10378&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8292214 Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/10378.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10378/head:pull/10378 PR: https://git.openjdk.org/jdk/pull/10378