summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-27 13:54:08 +0200
committerwm4 <wm4@nowhere>2017-10-27 13:54:08 +0200
commit41beaa653abee4839e5a60d9b7fb696d4a3f1446 (patch)
treec84a64a19cd078df21152d973a9f0cef2503ab1a /player
parentf08ec22567f309edb69184558cacb9af6115e985 (diff)
downloadmpv-41beaa653abee4839e5a60d9b7fb696d4a3f1446.tar.bz2
mpv-41beaa653abee4839e5a60d9b7fb696d4a3f1446.tar.xz
audio: fix small memory leak
Most commonly happened with --end, in which case that field tends to be set.
Diffstat (limited to 'player')
-rw-r--r--player/audio.c1
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);