RFR: 8282628: Potential memory leak in sun.font.FontConfigManager.getFontConfig() [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Wed Mar 9 09:42:00 UTC 2022
On Tue, 8 Mar 2022 20:47:45 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> You're right. The old icon handles in `hOldIcon` and `hOldIconSm` will be leaked here if `CreateIconFromRaster` throws an exception.
I've submitted [JDK-8282862](https://bugs.openjdk.java.net/browse/JDK-8282862): AwtWindow::SetIconData leaks old icon handles if an exception is detected
-------------
PR: https://git.openjdk.java.net/jdk/pull/7691
More information about the core-libs-dev
mailing list