msacm32: Add missing acmStreamClose (Valgrind).

This commit is contained in:
Jörg Höhle 2012-01-18 00:08:12 +01:00 committed by Alexandre Julliard
parent 01195b2dd7
commit 72f8c64889

View file

@ -257,6 +257,7 @@ MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had,
TRACE("%s => %08x\n", debugstr_w(wadi->pszDriverAlias), ret); TRACE("%s => %08x\n", debugstr_w(wadi->pszDriverAlias), ret);
if (ret == MMSYSERR_NOERROR) { if (ret == MMSYSERR_NOERROR) {
if (fdwOpen & ACM_STREAMOPENF_QUERY) { if (fdwOpen & ACM_STREAMOPENF_QUERY) {
MSACM_Message((HACMDRIVER)wad, ACMDM_STREAM_CLOSE, (LPARAM)&was->drvInst, 0);
acmDriverClose(had, 0L); acmDriverClose(had, 0L);
} }
break; break;