Nikolay Sivov : winegstreamer: Fully initialize MF object creation context.
Alexandre Julliard
julliard at winehq.org
Mon Feb 22 15:43:22 CST 2021
Module: wine
Branch: master
Commit: e162e7ea7f90e4f2b87817683a5e5bdb528d66ca
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e162e7ea7f90e4f2b87817683a5e5bdb528d66ca
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Feb 22 21:32:47 2021 +0300
winegstreamer: Fully initialize MF object creation context.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winegstreamer/media_source.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/media_source.c b/dlls/winegstreamer/media_source.c
index e69370d2513..74af8e41f48 100644
--- a/dlls/winegstreamer/media_source.c
+++ b/dlls/winegstreamer/media_source.c
@@ -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);
More information about the wine-cvs
mailing list