Commit e221502f authored by Warren Dukes's avatar Warren Dukes

destroy mutex's and condition's

git-svn-id: https://svn.musicpd.org/mpd/trunk@3132 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 6107b65c
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment