1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

mfplat: Clear the clsid pointer in MFTEnum to avoid invalid free.

This commit is contained in:
Rémi Bernon 2022-12-02 01:35:38 +01:00 committed by Alexandre Julliard
parent 056d570d49
commit 2dad3edf7c

View File

@ -1350,6 +1350,7 @@ HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *inpu
return E_INVALIDARG;
*count = 0;
*clsids = NULL;
list_init(&mfts);