diff --git a/src/output/MultipleOutputs.cxx b/src/output/MultipleOutputs.cxx index ee3e3aef1..986510f7f 100644 --- a/src/output/MultipleOutputs.cxx +++ b/src/output/MultipleOutputs.cxx @@ -126,10 +126,10 @@ MultipleOutputs::AddNullOutput(EventLoop &event_loop, ConfigBlock block; block.AddBlockParam("type", "null"); - auto output = LoadOutput(event_loop, replay_gain_config, - mixer_listener, - client, block); - outputs.push_back(new AudioOutputControl(output)); + auto *output = LoadOutputControl(event_loop, replay_gain_config, + mixer_listener, + client, block); + outputs.push_back(output); } AudioOutputControl *