On Wed, 9 Mar 2022 09:38:51 GMT, Alexey Ivanov <aiva...@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

Reply via email to