[Bug 46270] New: STGMEDIUM_UserFree unconditional releases a HGLOBAL

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 10 16:58:32 CST 2018


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

            Bug ID: 46270
           Summary: STGMEDIUM_UserFree unconditional releases a HGLOBAL
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ole32
          Assignee: wine-bugs at winehq.org
          Reporter: mark.jansen at reactos.org
      Distribution: ---

Created attachment 62980
  --> https://bugs.winehq.org/attachment.cgi?id=62980
ReactOS +ole capture

When an STGMEDIUM is marshalled locally (just copied),
the HGLOBAL is actually deleted by the stub.
This leaves the recipient of the STGMEDIUM with a head object.

Before 5293cb71838bba86961f62e2317f532c9812db0c this was not a problem, because
an HGLOBAL was always treated as 'remote'.

Thanks to Zebediah Figura for figuring out the problem based on my very
incomplete description :)

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