diff options
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 4 | ||||
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index 9aefb4be8..31601b37c 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -312,7 +312,7 @@ configure_hw: return 0; - error: +error: if (cmd) { ERROR("Error opening alsa device \"%s\" (%s): %s\n", ad->device, cmd, snd_strerror(-err)); @@ -320,7 +320,7 @@ configure_hw: ERROR("Error opening alsa device \"%s\": %s\n", ad->device, snd_strerror(-err)); } - fail: +fail: if (ad->pcmHandle) snd_pcm_close(ad->pcmHandle); ad->pcmHandle = NULL; diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index d85dfd192..af6cd5dcf 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -487,7 +487,7 @@ static int oss_open(AudioOutput * audioOutput) return 0; - fail: +fail: oss_close(od); audioOutput->open = 0; return -1; |