Alexandre Julliard : msacm32: Clear the type field when deleting a driver.
Alexandre Julliard
julliard at winehq.org
Fri Jan 29 10:56:30 CST 2010
Module: wine
Branch: master
Commit: 6bc1a359f882e685b7632f036dddd32d99a8c4d7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6bc1a359f882e685b7632f036dddd32d99a8c4d7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jan 28 19:47:44 2010 +0100
msacm32: Clear the type field when deleting a driver.
---
dlls/msacm32/driver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msacm32/driver.c b/dlls/msacm32/driver.c
index 9ca16dc..c02d89f 100644
--- a/dlls/msacm32/driver.c
+++ b/dlls/msacm32/driver.c
@@ -214,6 +214,7 @@ MMRESULT WINAPI acmDriverClose(HACMDRIVER had, DWORD fdwClose)
else if (pad->pLocalDrvrInst)
MSACM_CloseLocalDriver(pad->pLocalDrvrInst);
+ pad->obj.dwType = 0;
HeapFree(MSACM_hHeap, 0, pad);
return MMSYSERR_NOERROR;
More information about the wine-cvs
mailing list