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:
Warren Dukes 2005-03-24 11:46:44 +00:00
parent 6107b65c23
commit e221502f59

View File

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