Skip to content
Snippets Groups Projects
Commit cced6fc8 authored by Roman's avatar Roman Committed by Julian Oes
Browse files

multirotor mixer: use correct version of delete operator for array pointer


Signed-off-by: default avatarRoman <bapstroman@gmail.com>
parent 8b889caa
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ MultirotorMixer::MultirotorMixer(ControlCallback control_cb,
MultirotorMixer::~MultirotorMixer()
{
if (_outputs_prev != nullptr) {
delete _outputs_prev;
delete[] _outputs_prev;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment