[PATCH resend] mciwave: Fix bad free in MCI_SendCommandAsync (Coverity)
Alex Henrie
alexhenrie24 at gmail.com
Sun Apr 3 22:57:45 CDT 2022
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
dlls/mciwave/mciwave.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mciwave/mciwave.c b/dlls/mciwave/mciwave.c
index 3ca884ed6e0..b2582a56123 100644
--- a/dlls/mciwave/mciwave.c
+++ b/dlls/mciwave/mciwave.c
@@ -124,7 +124,7 @@ static DWORD MCI_SendCommandAsync(UINT wDevID, async_cmd cmd, DWORD_PTR dwParam1
WARN("Couldn't allocate thread for async command handling, sending synchronously\n");
if (handles[1]) CloseHandle(handles[1]);
sca->evt = NULL;
- return MCI_SCAStarter(&sca);
+ return MCI_SCAStarter(sca);
}
SetThreadPriority(handles[0], THREAD_PRIORITY_TIME_CRITICAL);
--
2.35.1
More information about the wine-devel
mailing list