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

Alexandre Julliard julliard at winehq.org
Tue Apr 29 08:54:24 CDT 2008


Module: wine
Branch: master
Commit: 8580198dc8eb9b6030c2db66f84a6d22aca2277f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8580198dc8eb9b6030c2db66f84a6d22aca2277f

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Apr 28 19:42:51 2008 +0100

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

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

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=8580198dc8eb9b6030c2db66f84a6d22aca2277f



More information about the wine-cvs mailing list