mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Node on leaked memory in UAVCAN driver
This commit is contained in:
parent
ca4e55fec3
commit
109bee855b
@ -1069,6 +1069,7 @@ UavcanNode::ioctl(file *filp, int cmd, unsigned long arg)
|
||||
unsigned buflen = strnlen(buf, 1024);
|
||||
|
||||
if (_mixers == nullptr) {
|
||||
// TODO: Do we have to delete it when stopping?
|
||||
_mixers = new MixerGroup(control_callback, (uintptr_t)_controls);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user