aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-22 17:58:12 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-22 17:58:12 +0000
commit5b7a1419b92178042473cefc4d687ee87c5f4c38 (patch)
tree1934453d64bcd3fab6222bec5033e83ea77273e2 /src
parentd021f6b042e6245f70c688bdb4f7e12029346dc6 (diff)
downloadmpd-5b7a1419b92178042473cefc4d687ee87c5f4c38.tar.gz
mpd-5b7a1419b92178042473cefc4d687ee87c5f4c38.tar.xz
mpd-5b7a1419b92178042473cefc4d687ee87c5f4c38.zip
on finishAudioDriver, be sure to set shoutOutput = NULL
git-svn-id: https://svn.musicpd.org/mpd/trunk@2296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/audio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio.c b/src/audio.c
index d5619e963..f8bcd7edc 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -139,6 +139,7 @@ void finishAudioConfig() {
void finishAudioDriver() {
finishAudioOutput(aoOutput);
if(shoutOutput) finishAudioOutput(shoutOutput);
+ shoutOutput = NULL;
aoOutput = NULL;
}