=?UTF-8?Q?J=C3=B6rg=20H=C3=B6hle=20?=: msacm32: Add missing acmStreamClose (Valgrind).

Alexandre Julliard julliard at winehq.org
Wed Jan 18 14:03:43 CST 2012


Module: wine
Branch: master
Commit: 72f8c64889099dcade4449f2b07a37d6ab073d7b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=72f8c64889099dcade4449f2b07a37d6ab073d7b

Author: Jörg Höhle <hoehle at users.sourceforge.net>
Date:   Wed Jan 18 00:08:12 2012 +0100

msacm32: Add missing acmStreamClose (Valgrind).

---

 dlls/msacm32/stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msacm32/stream.c b/dlls/msacm32/stream.c
index 10ce79b..0b336dd 100644
--- a/dlls/msacm32/stream.c
+++ b/dlls/msacm32/stream.c
@@ -257,6 +257,7 @@ MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had,
 		TRACE("%s => %08x\n", debugstr_w(wadi->pszDriverAlias), ret);
 		if (ret == MMSYSERR_NOERROR) {
 		    if (fdwOpen & ACM_STREAMOPENF_QUERY) {
+			MSACM_Message((HACMDRIVER)wad, ACMDM_STREAM_CLOSE, (LPARAM)&was->drvInst, 0);
 			acmDriverClose(had, 0L);
 		    }
 		    break;




More information about the wine-cvs mailing list