[Bug 40659] New: Window with CS_OWNDC style cause DC leak when GetDC/ ReleaseDC is used.

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 19 18:44:35 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40659

            Bug ID: 40659
           Summary: Window with CS_OWNDC style cause DC leak when
                    GetDC/ReleaseDC is used.
           Product: Wine
           Version: 1.9.10
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: leslie_alistair at hotmail.com
      Distribution: ---

Created attachment 54530
  --> https://bugs.winehq.org/attachment.cgi?id=54530
testcase

The attached test when run under wine will cause the message to appear.
err:gdi:alloc_gdi_handle out of GDI object handles, expect a crash

If GetDC/ReleaseDC are removed from the loop then no error occurs.

I've used a parent window, so that the test will run in a acceptable amount of
time but has no effect on the outcome.

-- 
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