Fixed (tested in Fink and DarwinPorts) osX output plugin

git-svn-id: https://svn.musicpd.org/mpd/trunk@3500 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Qball Cow 2005-10-02 14:52:13 +00:00
parent 3a579f36d6
commit 20731cc7e6

View File

@ -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);
}