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 New Issue