On Fri, 6 Nov 2026 08:57:17 GMT, Matthias Baesken <[email protected]> wrote:

>> 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

Thanks for the reviews and comments!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/33752#issuecomment-6764629228

Reply via email to