[PATCH v2] mf: Add missing ::Release of clock timer.
Derek Lesho
dlesho at codeweavers.com
Tue May 5 09:59:00 CDT 2020
Signed-off-by: Derek Lesho <dlesho at codeweavers.com>
---
v2: Release the original reference upon removal from list instead.
---
dlls/mf/session.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/mf/session.c b/dlls/mf/session.c
index 75ef600a4df..d6b881218bf 100644
--- a/dlls/mf/session.c
+++ b/dlls/mf/session.c
@@ -4289,6 +4289,7 @@ static HRESULT WINAPI present_clock_timer_callback_Invoke(IMFAsyncCallback *ifac
EnterCriticalSection(&clock->cs);
list_remove(&timer->entry);
+ IUnknown_Release(&timer->IUnknown_iface);
LeaveCriticalSection(&clock->cs);
IMFAsyncCallback_Invoke(timer->callback, timer->result);
--
2.26.2
More information about the wine-devel
mailing list