From 3816e44da1e0ef7db6155e791e2dfbd32ea622cd Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 14 Jan 2015 13:42:37 +0300 Subject: [PATCH] winhttp: Fix typeinfo refcount in GetTypeInfo(). --- dlls/winhttp/request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c index 61f5439efd1..a5f5897338d 100644 --- a/dlls/winhttp/request.c +++ b/dlls/winhttp/request.c @@ -2754,6 +2754,7 @@ static HRESULT get_typeinfo( enum type_id tid, ITypeInfo **ret ) ITypeInfo_Release( typeinfo ); } *ret = winhttp_typeinfo[tid]; + ITypeInfo_AddRef(winhttp_typeinfo[tid]); return S_OK; }