winegstreamer: Fully initialize MF object creation context.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-02-22 21:32:47 +03:00 committed by Alexandre Julliard
parent 8dac512e8c
commit e162e7ea7f
1 changed files with 1 additions and 1 deletions

View File

@ -1379,7 +1379,7 @@ static HRESULT WINAPI winegstreamer_stream_handler_BeginCreateObject(IMFByteStre
if (FAILED(hr = MFCreateAsyncResult(NULL, callback, state, &caller)))
return hr;
context = heap_alloc(sizeof(*context));
context = heap_alloc_zero(sizeof(*context));
if (!context)
{
IMFAsyncResult_Release(caller);