shithub: cstory

Download patch

ref: 1d76e25c359dd1914e4d57e1c54f6626987fdedf
parent: e0c67b421ab592827f959d4f3bdd78a372657df6
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jun 30 16:39:20 EDT 2020

Better Wii U audio cleanup

--- a/src/Backends/Audio/WiiU-Software.cpp
+++ b/src/Backends/Audio/WiiU-Software.cpp
@@ -236,6 +236,8 @@
 		free(stream_buffer_long);
 	}
 
+	AXQuit();
+
 	return false;
 }
 
@@ -246,6 +248,8 @@
 		AXFreeVoice(voices[i]);
 		free(stream_buffers[i]);
 	}
+
+	free(stream_buffer_long);
 
 	AXQuit();
 }