Nikolay Sivov : wshom: Fix refcount for typeinfo pointers.

Alexandre Julliard julliard at winehq.org
Thu Nov 29 14:15:44 CST 2012


Module: wine
Branch: master
Commit: 13d99144bdb256a7ff7fc377955c8d1253d667fc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=13d99144bdb256a7ff7fc377955c8d1253d667fc

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Nov 29 07:26:41 2012 -0500

wshom: Fix refcount for typeinfo pointers.

---

 dlls/wshom.ocx/wshom_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wshom.ocx/wshom_main.c b/dlls/wshom.ocx/wshom_main.c
index 1c6bb44..c253b61 100644
--- a/dlls/wshom.ocx/wshom_main.c
+++ b/dlls/wshom.ocx/wshom_main.c
@@ -77,6 +77,7 @@ HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
     }
 
     *typeinfo = typeinfos[tid];
+    ITypeInfo_AddRef(*typeinfo);
     return S_OK;
 }
 




More information about the wine-cvs mailing list