RFR: 8302837: Kernel32.cpp array memory release invokes undefined behaviour
Julian Waters
jwaters at openjdk.org
Mon Feb 20 07:53:11 UTC 2023
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
-------------
Commit messages:
- Kernel32.cpp
Changes: https://git.openjdk.org/jdk/pull/12649/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12649&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8302837
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/12649.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12649/head:pull/12649
PR: https://git.openjdk.org/jdk/pull/12649
More information about the kulla-dev
mailing list