ole32: Keep track of the number of weak references to an object.

Robert Shearman rob at codeweavers.com
Mon Apr 28 13:42:51 CDT 2008


This is so that an object will only be released when a weak-reference is 
used after the last weak reference has been released (either by 
CoReleaseMarshalData or CoUnmarshalInterface + Release).
---
  dlls/ole32/compobj.c         |    6 +++---
  dlls/ole32/compobj_private.h |    7 ++++---
  dlls/ole32/marshal.c         |   24 +++++++++++++++---------
  dlls/ole32/stubmanager.c     |   21 ++++++++++++++-------
  dlls/ole32/tests/moniker.c   |    3 +--
  5 files changed, 37 insertions(+), 24 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 96df1149ae8144c2fcfd3f3d6388395191351114.diff
Type: text/x-patch
Size: 10515 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080428/de05c9d0/attachment.bin 


More information about the wine-patches mailing list