aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audioOutputs/audioOutput_osx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c
index da18b0676..eef40e788 100644
--- a/src/audioOutputs/audioOutput_osx.c
+++ b/src/audioOutputs/audioOutput_osx.c
@@ -93,9 +93,9 @@ static int osx_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
static void freeOsxData(OsxData * od) {
if(od->buffer) free(od->buffer);
- pthread_mutex_destroy(&ret->mutex);
- pthread_cond_destroy(&ret->conditionFull);
- pthread_cond_destroy(&ret->conditionEmpty);
+ pthread_mutex_destroy(&od->mutex);
+ pthread_cond_destroy(&od->conditionFull);
+ pthread_cond_destroy(&od->conditionEmpty);
free(od);
}