forked from Archive/PX4-Autopilot
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…
Reference in New Issue