mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 13:47:04 +00:00
ao_coreaudio: fix another minor memory leak
How stupid, even the cleanup gotos were already there.
This commit is contained in:
parent
f3a003e550
commit
9ed289ef90
@ -289,5 +289,6 @@ void ca_get_active_chmap(struct ao *ao, AudioDeviceID device, int channel_count,
|
|||||||
}
|
}
|
||||||
|
|
||||||
out_map->num = 0;
|
out_map->num = 0;
|
||||||
done: ;
|
done:
|
||||||
|
talloc_free(ta_ctx);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user