Nikolay Sivov : scrrun: Fix refcount on GetTypeInfo().
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 14 14:35:42 CST 2015
Module: wine
Branch: master
Commit: c1a3a1d5168ba5a4ba7704e5b7d275b005972729
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c1a3a1d5168ba5a4ba7704e5b7d275b005972729
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Jan 14 15:23:06 2015 +0300
scrrun: Fix refcount on GetTypeInfo().
---
dlls/scrrun/scrrun.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/scrrun/scrrun.c b/dlls/scrrun/scrrun.c
index bad5b1c..3afcd50 100644
--- a/dlls/scrrun/scrrun.c
+++ b/dlls/scrrun/scrrun.c
@@ -152,6 +152,7 @@ HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
}
*typeinfo = typeinfos[tid];
+ ITypeInfo_AddRef(typeinfos[tid]);
return S_OK;
}
More information about the wine-cvs
mailing list