aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_control.c')
-rw-r--r--src/output_control.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output_control.c b/src/output_control.c
index bcedae247..5b9b2b902 100644
--- a/src/output_control.c
+++ b/src/output_control.c
@@ -300,6 +300,12 @@ void audio_output_finish(struct audio_output *ao)
g_cond_free(ao->cond);
g_mutex_free(ao->mutex);
+ if (ao->replay_gain_filter != NULL)
+ filter_free(ao->replay_gain_filter);
+
+ if (ao->other_replay_gain_filter != NULL)
+ filter_free(ao->other_replay_gain_filter);
+
filter_free(ao->filter);
pcm_buffer_deinit(&ao->cross_fade_buffer);