Skip to content
Snippets Groups Projects
Commit f4096a30 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

mmdevapi: Fix returned format leak (Valgrind).

parent 8095210d
No related branches found
No related tags found
No related merge requests found
......@@ -485,6 +485,7 @@ static HRESULT set_format(MMDevice *dev)
&PKEY_AudioEngine_DeviceFormat, &pv);
MMDevice_SetPropValue(&dev->devguid, dev->flow,
&PKEY_AudioEngine_OEMFormat, &pv);
CoTaskMemFree(fmt);
return S_OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment