diff options
author | wm4 <wm4@nowhere> | 2016-01-23 11:41:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-23 11:41:19 +0100 |
commit | 7c991706c585da9754d3188552156cd07700c5c8 (patch) | |
tree | be9d132b5a90e82634fb0d0a332c97987b6b15fd /player | |
parent | fae88b81137f0a9516e5518e0ff57733f6ffc7af (diff) | |
download | mpv-7c991706c585da9754d3188552156cd07700c5c8.tar.bz2 mpv-7c991706c585da9754d3188552156cd07700c5c8.tar.xz |
player: free queued audio frame on uninit
Diffstat (limited to 'player')
-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 c315b4bf82..1a3a7a45df 100644 --- a/player/audio.c +++ b/player/audio.c @@ -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); } |