destroy mutex's and condition's
git-svn-id: https://svn.musicpd.org/mpd/trunk@3132 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
6107b65c23
commit
e221502f59
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user