diff options
author | wm4 <wm4@nowhere> | 2015-10-26 15:54:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-26 15:54:36 +0100 |
commit | 9ed289ef90224c5076af1427ced994eef6e3c9fe (patch) | |
tree | b9eeb72a0841088211b0ff83d0b5ac262f41f477 /audio/out | |
parent | f3a003e550a9664bacfeadb52f57d952198f502c (diff) | |
download | mpv-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/out')
-rw-r--r-- | audio/out/ao_coreaudio_chmap.c | 3 |
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); } |