Nikolay Sivov : hnetcfg: Fix refcount of returned ITypeInfo pointer.
14 Jan
2015
14 Jan
'15
8:35 p.m.
Module: wine Branch: master Commit: ea3ba293322280b0d448488266c2e2861f14208b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ea3ba293322280b0d448488266... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Wed Jan 14 08:29:37 2015 +0300 hnetcfg: Fix refcount of returned ITypeInfo pointer. --- dlls/hnetcfg/apps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/hnetcfg/apps.c b/dlls/hnetcfg/apps.c index 18031a3..a0530e1 100644 --- a/dlls/hnetcfg/apps.c +++ b/dlls/hnetcfg/apps.c @@ -144,6 +144,7 @@ HRESULT get_typeinfo( enum type_id tid, ITypeInfo **ret ) ITypeInfo_Release( info ); } *ret = typeinfo[tid]; + ITypeInfo_AddRef(typeinfo[tid]); return S_OK; }
4081
Age (days ago)
4081
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard