The cleanup and error handling in function awt_parseColorModel in awt_parseImage.c could be improved.
------------- Commit messages: - JDK-8298093 Changes: https://git.openjdk.org/jdk/pull/11508/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11508&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8298093 Stats: 11 lines in 1 file changed: 8 ins; 1 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/11508.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11508/head:pull/11508 PR: https://git.openjdk.org/jdk/pull/11508
