In the CMFCOutlookBarTabCtrl::RebuildToolbar function there is a call to ExtractIcon but the class doesn't release the handle.The amount of unreleased gdi handles can increase dramatically when resizing the window.(OnSize->RecalcLayout->RebuildToolbar)It can cause a nasty crash when the gdi handles reach 10000.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Operating System Language