Aric Stewart : shlwapi: Release rgcd.pUnk returned by enumeration.

Alexandre Julliard julliard at winehq.org
Fri Dec 11 11:04:44 CST 2009


Module: wine
Branch: master
Commit: deef2c5ac26a6bfb70b8a4b9f241d6a7f86accba
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=deef2c5ac26a6bfb70b8a4b9f241d6a7f86accba

Author: Aric Stewart <aric at codeweavers.com>
Date:   Thu Dec 10 13:16:26 2009 -0600

shlwapi: Release rgcd.pUnk returned by enumeration.

---

 dlls/shlwapi/ordinal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 6b0a9bc..73d0f7e 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -2950,6 +2950,7 @@ static HRESULT SHLWAPI_InvokeByIID(
       IDispatch_Invoke(dispIface, dispId, &IID_NULL, 0, DISPATCH_METHOD, params, NULL, NULL, NULL);
       IDispatch_Release(dispIface);
     }
+    IUnknown_Release(rgcd.pUnk);
   }
 
   IEnumConnections_Release(enumerator);




More information about the wine-cvs mailing list