mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
Node on leaked memory in UAVCAN driver
This commit is contained in:
committed by
Lorenz Meier
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user