Misha Koshelev : urlmon:
Add a reference to the IUnknown for Release of STGMEDIUM to account for
extra call to ReleaseBindInfo .
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 24 07:06:20 CDT 2007
Module: wine
Branch: master
Commit: 2b4c52014e40e0f34f3a1ece18206dbb7a4daa7c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b4c52014e40e0f34f3a1ece18206dbb7a4daa7c
Author: Misha Koshelev <mk144210 at bcm.edu>
Date: Mon Jul 23 20:31:24 2007 -0500
urlmon: Add a reference to the IUnknown for Release of STGMEDIUM to account for extra call to ReleaseBindInfo.
---
dlls/urlmon/binding.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c
index 62cac80..17bc0f2 100644
--- a/dlls/urlmon/binding.c
+++ b/dlls/urlmon/binding.c
@@ -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);
More information about the wine-cvs
mailing list