mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
free allocated variable by perf_alloc
This commit is contained in:
@@ -114,6 +114,7 @@ Navigator::Navigator() :
|
||||
|
||||
Navigator::~Navigator()
|
||||
{
|
||||
perf_free(_loop_perf);
|
||||
orb_unsubscribe(_local_pos_sub);
|
||||
orb_unsubscribe(_vehicle_status_sub);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user