mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00: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