diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/osx_plugin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index 44a87f9d3..2ab0d6b0d 100644 --- a/src/output/osx_plugin.c +++ b/src/output/osx_plugin.c @@ -90,11 +90,10 @@ osx_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput, static void freeOsxData(OsxData * od) { - if (od->buffer) - free(od->buffer); + g_free(od->buffer); g_mutex_free(od->mutex); g_cond_free(od->condition); - free(od); + g_free(od); } static void osx_finishDriver(void *data) |