From 806f6e7bd62d3dba14326b8d4d72bf9c0cecac0d Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Mon, 8 May 2006 12:44:37 +0100 Subject: [PATCH] ole32: Create moniker enumerator with an initial reference count. --- dlls/ole32/compositemoniker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c index 13a7e317bfd..5fe88a7af21 100644 --- a/dlls/ole32/compositemoniker.c +++ b/dlls/ole32/compositemoniker.c @@ -1658,7 +1658,7 @@ EnumMonikerImpl_CreateEnumMoniker(IMoniker** tabMoniker, ULONG tabSize, /* Initialize the virtual function table. */ newEnumMoniker->lpVtbl = &VT_EnumMonikerImpl; - newEnumMoniker->ref = 0; + newEnumMoniker->ref = 1; newEnumMoniker->tabSize=tabSize; newEnumMoniker->currentPos=currentPos; -- 2.11.4.GIT