RFR: 8302837: Kernel32.cpp array memory release invokes undefined behaviour

Julian Waters jwaters at openjdk.org
Tue Feb 21 12:01:44 UTC 2023


On Mon, 20 Feb 2023 07:47:48 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> When several arrays are allocated with the new operator in Kernel32, they use the wrong set of delete operators when freeing the allocated memory. In C++ this is undefined behaviour and they should be converted to use the correct operators

Thanks for the review! :D

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

PR: https://git.openjdk.org/jdk/pull/12649


More information about the kulla-dev mailing list