msacm32: Free session driver instance using the correct heap.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4c46b3d091
commit
7966efda07
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue