Rob Shearman : ole32: Keep track of the number of weak references to an object.
Module: wine Branch: master Commit: 8580198dc8eb9b6030c2db66f84a6d22aca2277f URL: http://source.winehq.org/git/wine.git/?a=commit;h=8580198dc8eb9b6030c2db66f8... Author: Rob Shearman <rob(a)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=8580198dc8eb9b6030c2db...
participants (1)
-
Alexandre Julliard