Skip to content
Snippets Groups Projects
Commit b3b10335 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard
Browse files

dsound: Fix a memory leak (Valgrind).

parent 7d268f7d
Branches
Tags
No related merge requests found
......@@ -480,6 +480,7 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
}
if(count == 0){
IMMDeviceCollection_Release(coll);
release_mmdevenum(devenum, init_hr);
return DS_OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment