ChangeLog: * dlls\comctl32\tooltips.c Fixed font object leak in WM_SETFONT handler Author: Sander van Leeuwen <sandervl@xs4all.nl> License: X11 / LGPL --- tooltips.c Tue Oct 29 13:11:18 2002 +++ tooltips.cn Tue Oct 29 13:11:30 2002 @@ -2093,6 +2093,8 @@ if(!GetObjectW((HFONT)wParam, sizeof lf, &lf)) return 0; + + if(infoPtr->hFont) DeleteObject (infoPtr->hFont); infoPtr->hFont = CreateFontIndirectW(&lf); if ((LOWORD(lParam)) & (infoPtr->nCurrentTool != -1)) {