Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0 Alpha
-
None
-
Windows 7 64 bit
-
26a8af4681c54aa6935a2179b5aaee9b81a3c023 (5.4, 30.9.2014, 5.4)
Description
https://github.com/qtproject/qtwinextras/blob/dev/src/winextras/qwinthumbnailtoolbar.cpp#L512
method void QWinThumbnailToolBarPrivate::_q_updateToolbar() :
QtWin::toHICON uses CreateIconIndirect winapi call, deletion must be performed by DestroyIcon, but freeButtonResources(buttons) at the end of the method uses DeleteObject. Task Manager also shows that gdi objects are increasing. After commenting out QWinThumbnailToolBar gdi leak dissapeared.