diff options
author | wm4 <wm4@nowhere> | 2017-10-27 13:54:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-27 13:54:08 +0200 |
commit | 41beaa653abee4839e5a60d9b7fb696d4a3f1446 (patch) | |
tree | c84a64a19cd078df21152d973a9f0cef2503ab1a | |
parent | f08ec22567f309edb69184558cacb9af6115e985 (diff) |
audio: fix small memory leak
Most commonly happened with --end, in which case that field tends to be
set.
-rw-r--r-- | player/audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |