6 Apr
2019
6 Apr
'19
8:02 p.m.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> --- dlls/mfplat/queue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mfplat/queue.c b/dlls/mfplat/queue.c index c2cc6233b5..36c50566d3 100644 --- a/dlls/mfplat/queue.c +++ b/dlls/mfplat/queue.c @@ -1066,7 +1066,8 @@ static HRESULT WINAPI periodic_callback_Invoke(IMFAsyncCallback *iface, IMFAsync struct periodic_callback *callback = impl_from_IMFAsyncCallback(iface); IUnknown *context = NULL; - IMFAsyncResult_GetObject(result, &context); + if (FAILED(IMFAsyncResult_GetObject(result, &context))) + WARN("Expected object to be set for result object.\n"); callback->callback(context); -- 2.20.1