aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_osx.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-24 11:46:44 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-24 11:46:44 +0000
commite221502f59c98d12df55a44f0993d886fab4f1ce (patch)
treef9907e33c964fdf882e3e45a7c44ddd6019f7157 /src/audioOutputs/audioOutput_osx.c
parent6107b65c233eb1b9bffbbe2fa4beeb58c029671f (diff)
downloadmpd-e221502f59c98d12df55a44f0993d886fab4f1ce.tar.gz
mpd-e221502f59c98d12df55a44f0993d886fab4f1ce.tar.xz
mpd-e221502f59c98d12df55a44f0993d886fab4f1ce.zip
destroy mutex's and condition's
git-svn-id: https://svn.musicpd.org/mpd/trunk@3132 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs/audioOutput_osx.c')
-rw-r--r--src/audioOutputs/audioOutput_osx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c
index c1098d97c..18e964217 100644
--- a/src/audioOutputs/audioOutput_osx.c
+++ b/src/audioOutputs/audioOutput_osx.c
@@ -90,6 +90,8 @@ static int osx_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
static void freeOsxData(OsxData * od) {
if(od->buffer) free(od->buffer);
+ pthread_mutex_destroy(&od->mutex, NULL);
+ pthread_cond_destroy(&od->condition, NULL);
free(od);
}