From f033ce61e1a7fd145f0a70554f5c4c8f96493800 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 27 Jul 2017 02:41:58 -0700 Subject: [PATCH] Fixed typo in WASAPI shutdown code --- src/audio/wasapi/SDL_wasapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/wasapi/SDL_wasapi.c b/src/audio/wasapi/SDL_wasapi.c index 645473563..461904ae9 100644 --- a/src/audio/wasapi/SDL_wasapi.c +++ b/src/audio/wasapi/SDL_wasapi.c @@ -640,7 +640,7 @@ ReleaseWasapiDevice(_THIS) if (this->hidden->capture) { IAudioCaptureClient_Release(this->hidden->capture); - this->hidden->client = NULL; + this->hidden->capture = NULL; } if (this->hidden->waveformat) {