From e221502f59c98d12df55a44f0993d886fab4f1ce Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Thu, 24 Mar 2005 11:46:44 +0000 Subject: destroy mutex's and condition's git-svn-id: https://svn.musicpd.org/mpd/trunk@3132 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_osx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c index c1098d97c..18e964217 100644 --- a/src/audioOutputs/audioOutput_osx.c +++ b/src/audioOutputs/audioOutput_osx.c @@ -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); } -- cgit v1.2.3