Module: wine Branch: refs/heads/master Commit: 9a9981bad5a860368b535360094270426b4dc3e4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9a9981bad5a860368b535360...
Author: Robert Shearman rob@codeweavers.com Date: Wed Mar 1 12:18:33 2006 +0000
ole: Change NORMALEXTREFS to 5, like it is in native.
---
dlls/ole32/marshal.c | 2 +- dlls/ole32/stubmanager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c index aebdba1..8f952f9 100644 --- a/dlls/ole32/marshal.c +++ b/dlls/ole32/marshal.c @@ -50,7 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole); extern const CLSID CLSID_DfMarshal;
/* number of refs given out for normal marshaling */ -#define NORMALEXTREFS 1 /* FIXME: this should be 5, but we have to wait for IRemUnknown support first */ +#define NORMALEXTREFS 5
/* private flag indicating that the caller does not want to notify the stub * when the proxy disconnects or is destroyed */ diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c index 2f2e297..add7246 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -534,7 +534,7 @@ void stub_manager_release_marshal_data(s
if (ifstub->flags & MSHLFLAGS_TABLEWEAK) refs = 0; - else + else if (ifstub->flags & MSHLFLAGS_TABLESTRONG) refs = 1;
stub_manager_ext_release(m, refs);