diff options
Diffstat (limited to 'src/audioOutputs/audioOutput_osx.c')
-rw-r--r-- | src/audioOutputs/audioOutput_osx.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |