This is a straightforward fix to resolve a potential memory leak in imageFile.cpp.
If `find_location` returns true, the `path` char array is never released. This has been fixed ------------- Commit messages: - 8255845: Memory leak in imageFile.cpp Changes: https://git.openjdk.java.net/jdk/pull/1599/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1599&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8255845 Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/1599.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1599/head:pull/1599 PR: https://git.openjdk.java.net/jdk/pull/1599