Commit f52b3b4e authored by Max Kellermann's avatar Max Kellermann

output/Multiple: dispose the AudioOutputControl instances

Fixes shutdown memory leak.
parent 7e4e32cf
......@@ -47,6 +47,8 @@ MultipleOutputs::~MultipleOutputs() noexcept
i->BeginDestroy();
for (auto *i : outputs)
i->FinishDestroy();
for (auto *i : outputs)
delete i;
}
static FilteredAudioOutput *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment