wmp: Forward from a Release to a Release method.
Michael Stefaniuc
mstefani at redhat.de
Tue Mar 31 07:25:07 CDT 2015
---
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)
--
1.9.3
More information about the wine-patches
mailing list