urlmon: Add a reference to the IUnknown for Release of STGMEDIUM to account for extra call to ReleaseBindInfo.

This commit is contained in:
Misha Koshelev 2007-07-23 20:31:24 -05:00 committed by Alexandre Julliard
parent 40b94b733b
commit 2b4c52014e

View file

@ -996,6 +996,9 @@ static HRESULT WINAPI InternetBindInfo_GetBindInfo(IInternetBindInfo *iface,
if(pbindinfo->szExtraInfo || pbindinfo->szCustomVerb)
FIXME("copy strings\n");
if(pbindinfo->stgmedData.pUnkForRelease)
IUnknown_AddRef(pbindinfo->stgmedData.pUnkForRelease);
if(pbindinfo->pUnk)
IUnknown_AddRef(pbindinfo->pUnk);