Skip to content

Commit

Permalink
switch: audio: Fix deinitialization (devkitPro#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
averne authored and WinterMute committed Jan 20, 2024
1 parent aeebe32 commit 85e1d80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/audio/switch/SDL_switchaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ static void
SWITCHAUDIO_CloseDevice(_THIS)
{
audoutStopAudioOut();
audoutExit();

if (this->hidden->rawbuf) {
free(this->hidden->rawbuf);
Expand Down

0 comments on commit 85e1d80

Please sign in to comment.