From 45f0886eba19c99a51a62e124d4b741bb0f1c09d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 17 Aug 2011 20:44:05 -0700 Subject: [PATCH] Set the proper union member to 0 --- Alc/winmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/winmm.c b/Alc/winmm.c index 94c9b79..cd4b891 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -404,7 +404,7 @@ static void WinMMClosePlayback(ALCdevice *device) pData->hWaveThreadEvent = 0; waveOutClose(pData->hWaveHandle.Out); - pData->hWaveHandle.In = 0; + pData->hWaveHandle.Out = 0; free(pData); device->ExtraData = NULL;