Commit 2dad3edf authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

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

parent 056d570d
...@@ -1350,6 +1350,7 @@ HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *inpu ...@@ -1350,6 +1350,7 @@ HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *inpu
return E_INVALIDARG; return E_INVALIDARG;
*count = 0; *count = 0;
*clsids = NULL;
list_init(&mfts); list_init(&mfts);
......
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