mirror of https://github.com/mpv-player/mpv
audio: fix small memory leak
Most commonly happened with --end, in which case that field tends to be set.
This commit is contained in:
parent
f08ec22567
commit
41beaa653a
|
@ -372,6 +372,7 @@ static void ao_chain_uninit(struct ao_chain *ao_c)
|
|||
talloc_free(ao_c->conv);
|
||||
talloc_free(ao_c->input_frame);
|
||||
talloc_free(ao_c->input_format);
|
||||
talloc_free(ao_c->output_frame);
|
||||
talloc_free(ao_c->filter_input_format);
|
||||
talloc_free(ao_c->ao_buffer);
|
||||
talloc_free(ao_c);
|
||||
|
|
Loading…
Reference in New Issue