output/Multiple: dispose the AudioOutputControl instances

Fixes shutdown memory leak.
This commit is contained in:
Max Kellermann 2018-01-04 10:11:23 +01:00
parent 7e4e32cfe0
commit f52b3b4e04
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ MultipleOutputs::~MultipleOutputs() noexcept
i->BeginDestroy();
for (auto *i : outputs)
i->FinishDestroy();
for (auto *i : outputs)
delete i;
}
static FilteredAudioOutput *