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:
parent
3a579f36d6
commit
20731cc7e6
@ -90,8 +90,8 @@ static int osx_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
|
|||||||
|
|
||||||
static void freeOsxData(OsxData * od) {
|
static void freeOsxData(OsxData * od) {
|
||||||
if(od->buffer) free(od->buffer);
|
if(od->buffer) free(od->buffer);
|
||||||
pthread_mutex_destroy(&od->mutex, NULL);
|
pthread_mutex_destroy(&od->mutex);
|
||||||
pthread_cond_destroy(&od->condition, NULL);
|
pthread_cond_destroy(&od->condition);
|
||||||
free(od);
|
free(od);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user