summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-26 15:54:36 +0100
committerwm4 <wm4@nowhere>2015-10-26 15:54:36 +0100
commit9ed289ef90224c5076af1427ced994eef6e3c9fe (patch)
treeb9eeb72a0841088211b0ff83d0b5ac262f41f477 /audio
parentf3a003e550a9664bacfeadb52f57d952198f502c (diff)
downloadmpv-9ed289ef90224c5076af1427ced994eef6e3c9fe.tar.bz2
mpv-9ed289ef90224c5076af1427ced994eef6e3c9fe.tar.xz
ao_coreaudio: fix another minor memory leak
How stupid, even the cleanup gotos were already there.
Diffstat (limited to 'audio')
-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);
}