On Fri, 3 Dec 2021 20:14:43 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

>> src/java.desktop/windows/native/libawt/windows/ShellFolder2.cpp line 1102:
>> 
>>> 1100:                 }
>>> 1101:                 // Release DC
>>> 1102:                 ReleaseDC(NULL, dc);
>> 
>> The DC has to be released even if `colorBits` allocation failed, so this 
>> needs to be after `if (colorBits != NULL)`.
>
> Fixed.

Probably, you hasn't pushed the change for releasing the DC.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6473

Reply via email to