Commit f4096a30 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mmdevapi: Fix returned format leak (Valgrind).

parent 8095210d
......@@ -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;
}
......
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