urlmon: Call AddRef in CoInternetGetSession.

This commit is contained in:
Jacek Caban 2007-01-26 18:49:59 +01:00 committed by Alexandre Julliard
parent dae390d90b
commit 76b821bdd7
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}