aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 11a66243..8de3a623 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -251,6 +251,8 @@ static void wave_stop_playback(ALCdevice *device)
StopThread(data->thread);
data->thread = NULL;
+ data->killNow = 0;
+
free(data->buffer);
data->buffer = NULL;