On Tue, 28 Jan 2025 17:33:42 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> I'll submit a new bug to address this problem. >> >> It's not just a matter of an unused variables, it's the logic error: if the >> buffer is too small, *a new buffer is allocated*, yet this new buffer isn't >> deleted afterwards, nor is used to read the value retrieved from the >> registry. > > I submitted [JDK-8348872](https://bugs.openjdk.org/browse/JDK-8348872): > _jabswitch.cpp: regEnable and regDeleteValue leak reallocated data buffer_. Hi, I'm back to trying to work on the JDK now. Should this issue depend on 8348872 and 8348876? Hopefully those can be fixed soon ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21656#discussion_r2330364028