1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-29 11:12:56 +00:00

player: free queued audio frame on uninit

This commit is contained in:
wm4 2016-01-23 11:41:19 +01:00
parent fae88b8113
commit 7c991706c5

View File

@ -201,6 +201,7 @@ void uninit_audio_out(struct MPContext *mpctx)
static void ao_chain_uninit(struct ao_chain *ao_c)
{
af_destroy(ao_c->af);
talloc_free(ao_c->input_frame);
talloc_free(ao_c->ao_buffer);
talloc_free(ao_c);
}