mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
msacm32: Clear the type field when deleting a driver.
This commit is contained in:
parent
91502b0634
commit
6bc1a359f8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue