From 9f8649884b2a9fb7f1153065e34ad74be2426c3f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 4 Jan 2018 10:01:34 +0100 Subject: [PATCH] output/Control: dispose the FilteredAudioOutput Fixes shutdown memory leak. --- src/output/Control.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output/Control.cxx b/src/output/Control.cxx index 8458fc66d..b6d908a2f 100644 --- a/src/output/Control.cxx +++ b/src/output/Control.cxx @@ -378,5 +378,6 @@ AudioOutputControl::FinishDestroy() noexcept thread.Join(); output->FinishDestroy(); + delete output; output = nullptr; }