Set the proper union member to 0
This commit is contained in:
parent
057fef88ae
commit
45f0886eba
@ -404,7 +404,7 @@ static void WinMMClosePlayback(ALCdevice *device)
|
|||||||
pData->hWaveThreadEvent = 0;
|
pData->hWaveThreadEvent = 0;
|
||||||
|
|
||||||
waveOutClose(pData->hWaveHandle.Out);
|
waveOutClose(pData->hWaveHandle.Out);
|
||||||
pData->hWaveHandle.In = 0;
|
pData->hWaveHandle.Out = 0;
|
||||||
|
|
||||||
free(pData);
|
free(pData);
|
||||||
device->ExtraData = NULL;
|
device->ExtraData = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user