mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 06:23:33 +08:00
free allocated variable by perf_alloc
This commit is contained in:
@@ -114,6 +114,7 @@ Navigator::Navigator() :
|
|||||||
|
|
||||||
Navigator::~Navigator()
|
Navigator::~Navigator()
|
||||||
{
|
{
|
||||||
|
perf_free(_loop_perf);
|
||||||
orb_unsubscribe(_local_pos_sub);
|
orb_unsubscribe(_local_pos_sub);
|
||||||
orb_unsubscribe(_vehicle_status_sub);
|
orb_unsubscribe(_vehicle_status_sub);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user