mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
free allocated variable by perf_alloc
This commit is contained in:
parent
bd111c9f42
commit
54e4b65daa
@ -114,6 +114,7 @@ Navigator::Navigator() :
|
||||
|
||||
Navigator::~Navigator()
|
||||
{
|
||||
perf_free(_loop_perf);
|
||||
orb_unsubscribe(_local_pos_sub);
|
||||
orb_unsubscribe(_vehicle_status_sub);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user