Robert Shearman : ole32: Create moniker enumerator with an initial reference count.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 8 09:06:26 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 806f6e7bd62d3dba14326b8d4d72bf9c0cecac0d
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=806f6e7bd62d3dba14326b8d4d72bf9c0cecac0d

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon May  8 12:44:37 2006 +0100

ole32: Create moniker enumerator with an initial reference count.

---

 dlls/ole32/compositemoniker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c
index 13a7e31..5fe88a7 100644
--- a/dlls/ole32/compositemoniker.c
+++ b/dlls/ole32/compositemoniker.c
@@ -1658,7 +1658,7 @@ EnumMonikerImpl_CreateEnumMoniker(IMonik
 
     /* Initialize the virtual function table. */
     newEnumMoniker->lpVtbl       = &VT_EnumMonikerImpl;
-    newEnumMoniker->ref          = 0;
+    newEnumMoniker->ref          = 1;
 
     newEnumMoniker->tabSize=tabSize;
     newEnumMoniker->currentPos=currentPos;




More information about the wine-cvs mailing list