Module: wine Branch: master Commit: 3816e44da1e0ef7db6155e791e2dfbd32ea622cd URL: http://source.winehq.org/git/wine.git/?a=commit;h=3816e44da1e0ef7db6155e791e...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Jan 14 13:42:37 2015 +0300
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 61f5439..a5f5897 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; }