-
Bug
-
Resolution: Unresolved
-
P3
-
8u20, 9, 18, 19
AwtWindow::SetIconData leaks the old icon handles in hOldIcon and hOldIconSm if CreateIconFromRaster raises an exception.
Additionally, an exception is checked only after the first call to CreateIconFromRaster.
This issue was found during code review
https://github.com/openjdk/jdk/pull/7691#issuecomment-1062193614
for another bug:JDK-8282628.
Additionally, an exception is checked only after the first call to CreateIconFromRaster.
This issue was found during code review
https://github.com/openjdk/jdk/pull/7691#issuecomment-1062193614
for another bug:
- duplicates
-
JDK-8282879 Potential leak icon handles in AwtWindow::SetIconData()
- Closed
- links to
-
Review(master) openjdk/jdk/22932