From 9ed289ef90224c5076af1427ced994eef6e3c9fe Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Oct 2015 15:54:36 +0100 Subject: ao_coreaudio: fix another minor memory leak How stupid, even the cleanup gotos were already there. --- audio/out/ao_coreaudio_chmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio') 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); } -- cgit v1.2.3