[OLE #39] Change Stub Manager / Apartment Locking Rules

Robert Shearman rob at codeweavers.com
Wed Jan 12 18:23:03 CST 2005


Hi,

A reference to the enclosing apartment MUST be held whilst a reference 
to the stub manager is held, otherwise the stub manager could reference 
freed memory from the apt member. It also fixes up the same apartment 
unmarshal test so the tests should actually start testing the code. If 
they had been working, the past weeks worth of patches would have fixed 
todos in the tests.

Rob

Changelog:
- The apartment reference should be held while the stub manager 
reference is held.
- Fix same apartment-unmarshal detection.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ole39.diff
Type: text/x-patch
Size: 12387 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050112/05ff137c/ole39.bin


More information about the wine-patches mailing list