winegstreamer: Zero-initialize the GstImpl filter.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-02-22 15:31:18 -06:00 committed by Alexandre Julliard
parent c907d69cf0
commit 7ae35a04f4
1 changed files with 1 additions and 0 deletions

View File

@ -1252,6 +1252,7 @@ IUnknown * CALLBACK Gstreamer_Splitter_create(IUnknown *pUnkOuter, HRESULT *phr)
*phr = E_OUTOFMEMORY;
return NULL;
}
memset(This, 0, sizeof(*This));
obj = (IUnknown*)&This->filter.IBaseFilter_iface;
BaseFilter_Init(&This->filter, &GST_Vtbl, &CLSID_Gstreamer_Splitter, (DWORD_PTR)(__FILE__ ": GSTImpl.csFilter"), &BaseFuncTable);