aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2005-10-02 14:52:13 +0000
committerQball Cow <qball@qballcow.nl>2005-10-02 14:52:13 +0000
commit20731cc7e6bb71b35c6e20f6ef737780dd640bf6 (patch)
tree1d287e545ba8c9bc08b143ad256f7d56d099c000 /src
parent3a579f36d624e81c251b5270f08f8ebd9427dd32 (diff)
downloadmpd-20731cc7e6bb71b35c6e20f6ef737780dd640bf6.tar.gz
mpd-20731cc7e6bb71b35c6e20f6ef737780dd640bf6.tar.xz
mpd-20731cc7e6bb71b35c6e20f6ef737780dd640bf6.zip
Fixed (tested in Fink and DarwinPorts) osX output plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@3500 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/audioOutputs/audioOutput_osx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c
index 18e964217..00beaef33 100644
--- a/src/audioOutputs/audioOutput_osx.c
+++ b/src/audioOutputs/audioOutput_osx.c
@@ -90,8 +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);
+ pthread_mutex_destroy(&od->mutex);
+ pthread_cond_destroy(&od->condition);
free(od);
}