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));
http://bugs.winehq.org/show_bug.cgi?id=27938
--- Comment #1 from m.matsubara m_matsu@wind.sannet.ne.jp 2011-07-29 12:33:49 CDT --- The file is "dlls/gdiplus/Graphics.c" .
http://bugs.winehq.org/show_bug.cgi?id=27938
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2011-07-29 13:29:45 CDT --- I don't know if we're doing another 1.2.x release, but d0e6aa0204a5cd6c7d2f4696019f6f87897cf478 would be the appropriate commit.
http://bugs.winehq.org/show_bug.cgi?id=27938
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #3 from Wylda wylda@volny.cz 2011-07-29 13:54:27 CDT ---
Thus fixed right, Vincent? Or invalid??
Still perplexed this one was fixed on 2011-03-09, but the bug was opened 2011-07-29? I would say invalid, but AJ would beat me again like day or two before ;)
http://bugs.winehq.org/show_bug.cgi?id=27938
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2011-07-29 14:35:54 CDT --- Note the reported version. It was apparently never fixed in a stable release.
http://bugs.winehq.org/show_bug.cgi?id=27938
--- Comment #5 from Wylda wylda@volny.cz 2011-07-29 14:44:27 CDT ---
Note the reported version. It was apparently never fixed in a stable release.
But that's not how things works. This one should be FIXED/INVALID. For stable there is "Target Milestone:" which says something like "When/If the time comes backport this one".
If there won't be 1.2 stable anymore, then this one would be UNCONFIRMED forever? I don't think so.
http://bugs.winehq.org/show_bug.cgi?id=27938
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Severity|normal |minor
--- Comment #6 from Austin English austinenglish@gmail.com 2011-08-01 13:56:33 CDT --- It's fixed.
http://bugs.winehq.org/show_bug.cgi?id=27938
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2011-08-05 12:39:15 CDT --- Closing bugs fixed in 1.3.26.