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