Commit 7966efda authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

msacm32: Free session driver instance using the correct heap.

parent 4c46b3d0
......@@ -1085,7 +1085,7 @@ LRESULT MSACM_CloseLocalDriver(PWINE_ACMLOCALDRIVERINST paldrv)
MSACM_DRIVER_SendMessage(lpDrv0, DRV_CLOSE, 0L, 0L);
lpDrv0->dwDriverID = 0;
MSACM_RemoveFromList(lpDrv0);
HeapFree(GetProcessHeap(), 0, lpDrv0);
HeapFree(MSACM_hHeap, 0, lpDrv0);
}
HeapFree(MSACM_hHeap, 0, paldrv);
......
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