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) {