RFR: 8282628: Potential memory leak in sun.font.FontConfigManager.getFontConfig() [v2]
Zhengyu Gu
zgu at openjdk.java.net
Wed Mar 9 13:49:04 UTC 2022
On Wed, 9 Mar 2022 09:38:51 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
Thanks for the confirmation.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7691
More information about the client-libs-dev
mailing list