Module: wine Branch: master Commit: ea3ba293322280b0d448488266c2e2861f14208b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ea3ba293322280b0d448488266...
Author: Nikolay Sivov nsivov@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; }