From ea3ba293322280b0d448488266c2e2861f14208b Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 14 Jan 2015 08:29:37 +0300 Subject: [PATCH] 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 18031a3534a..a0530e1bbc4 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; }