Derek Lesho : mf: Add missing ::Release of clock timer.

Alexandre Julliard julliard at winehq.org
Tue May 5 14:48:53 CDT 2020


Module: wine
Branch: master
Commit: 1962a1f969e110b3effe6776fc03af68301c1d15
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1962a1f969e110b3effe6776fc03af68301c1d15

Author: Derek Lesho <dlesho at codeweavers.com>
Date:   Tue May  5 09:59:00 2020 -0500

mf: Add missing ::Release of clock timer.

Signed-off-by: Derek Lesho <dlesho at codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mf/session.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mf/session.c b/dlls/mf/session.c
index 75ef600a4d..d6b881218b 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);




More information about the wine-cvs mailing list