Commit 6bc1a359 authored by Alexandre Julliard's avatar Alexandre Julliard

msacm32: Clear the type field when deleting a driver.

parent 91502b06
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment