From 76b821bdd70d11d6161611f55b43d99c2cd8d64f Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 26 Jan 2007 18:49:59 +0100 Subject: [PATCH] urlmon: Call AddRef in CoInternetGetSession. --- dlls/urlmon/session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/urlmon/session.c b/dlls/urlmon/session.c index 670b0f5d294..f66b22ecfa3 100644 --- a/dlls/urlmon/session.c +++ b/dlls/urlmon/session.c @@ -331,6 +331,7 @@ HRESULT WINAPI CoInternetGetSession(DWORD dwSessionMode, IInternetSession **ppII if(dwReserved) ERR("dwReserved=%d\n", dwReserved); + IInternetSession_AddRef(&InternetSession); *ppIInternetSession = &InternetSession; return S_OK; }