From 41beaa653abee4839e5a60d9b7fb696d4a3f1446 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Oct 2017 13:54:08 +0200 Subject: audio: fix small memory leak Most commonly happened with --end, in which case that field tends to be set. --- player/audio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/audio.c') diff --git a/player/audio.c b/player/audio.c index 4c930c76b3..3b63f92d7e 100644 --- a/player/audio.c +++ b/player/audio.c @@ -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); -- cgit v1.2.3