[Bug 27938] New: GdipDrawString Resource leak (GDI Font object).

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 29 12:25:43 CDT 2011


           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 at winehq.org
        ReportedBy: m_matsu at 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));

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list