From 9a9981bad5a860368b535360094270426b4dc3e4 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Wed, 1 Mar 2006 12:18:33 +0000 Subject: [PATCH] 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 aebdba13e6b..8f952f90566 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 2f2e297f280..add724699c2 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -534,7 +534,7 @@ void stub_manager_release_marshal_data(struct stub_manager *m, ULONG refs, const if (ifstub->flags & MSHLFLAGS_TABLEWEAK) refs = 0; - else + else if (ifstub->flags & MSHLFLAGS_TABLESTRONG) refs = 1; stub_manager_ext_release(m, refs);