Commit e162e7ea authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winegstreamer: Fully initialize MF object creation context.

parent 8dac512e
...@@ -1379,7 +1379,7 @@ static HRESULT WINAPI winegstreamer_stream_handler_BeginCreateObject(IMFByteStre ...@@ -1379,7 +1379,7 @@ static HRESULT WINAPI winegstreamer_stream_handler_BeginCreateObject(IMFByteStre
if (FAILED(hr = MFCreateAsyncResult(NULL, callback, state, &caller))) if (FAILED(hr = MFCreateAsyncResult(NULL, callback, state, &caller)))
return hr; return hr;
context = heap_alloc(sizeof(*context)); context = heap_alloc_zero(sizeof(*context));
if (!context) if (!context)
{ {
IMFAsyncResult_Release(caller); IMFAsyncResult_Release(caller);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment