Michael Stefaniuc : wmp: Forward from a Release to a Release method.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 31 10:38:51 CDT 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Mar 31 14:25:07 2015 +0200

wmp: Forward from a Release to a Release method.

---

 dlls/wmp/oleobj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wmp/oleobj.c b/dlls/wmp/oleobj.c
index 33c0323..75957a4 100644
--- a/dlls/wmp/oleobj.c
+++ b/dlls/wmp/oleobj.c
@@ -671,7 +671,7 @@ static ULONG WINAPI OleControl_AddRef(IOleControl *iface)
 static ULONG WINAPI OleControl_Release(IOleControl *iface)
 {
     WindowsMediaPlayer *This = impl_from_IOleControl(iface);
-    return IOleObject_AddRef(&This->IOleObject_iface);
+    return IOleObject_Release(&This->IOleObject_iface);
 }
 
 static HRESULT WINAPI OleControl_GetControlInfo(IOleControl *iface, CONTROLINFO *pCI)




More information about the wine-cvs mailing list