msacm32: Clear the type field when deleting a driver.

This commit is contained in:
Alexandre Julliard 2010-01-28 19:47:44 +01:00
parent 91502b0634
commit 6bc1a359f8
1 changed files with 1 additions and 0 deletions

View File

@ -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;