http://bugs.winehq.org/show_bug.cgi?id=27938
Summary: GdipDrawString Resource leak (GDI Font object). Product: Wine Version: 1.2.3 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: m_matsu@wind.sannet.ne.jp
The GDI font resource leaks to the GdipDrawString function.
correct it as follows ?.
Before corrects (line: 3920) DeleteObject(SelectObject(graphics->hdc, CreateFontIndirectW(&lfw)));
After corrects DeleteObject(SelectObject(graphics->hdc, gdifont));