> We potentially leak a handle in case of failing malloc. > > Additionally, GetFinalPathNameByHandleW can fail and return 0. Then we > should free a newly allocated buffer. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision: Remove unneeded variable newFinalPath ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33752/files - new: https://git.openjdk.org/jdk/pull/33752/files/4641792e..45ec951b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33752&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33752&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/33752.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33752/head:pull/33752 PR: https://git.openjdk.org/jdk/pull/33752
