summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/out/ao_coreaudio_chmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_chmap.c b/audio/out/ao_coreaudio_chmap.c
index df6b188656..94c9179db8 100644
--- a/audio/out/ao_coreaudio_chmap.c
+++ b/audio/out/ao_coreaudio_chmap.c
@@ -289,5 +289,6 @@ void ca_get_active_chmap(struct ao *ao, AudioDeviceID device, int channel_count,
}
out_map->num = 0;
-done: ;
+done:
+ talloc_free(ta_ctx);
}