mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
multirotor mixer: use correct version of delete operator for array pointer
Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
parent
8b889caa33
commit
cced6fc8b2
@ -102,7 +102,7 @@ MultirotorMixer::MultirotorMixer(ControlCallback control_cb,
|
||||
MultirotorMixer::~MultirotorMixer()
|
||||
{
|
||||
if (_outputs_prev != nullptr) {
|
||||
delete _outputs_prev;
|
||||
delete[] _outputs_prev;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user