mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 06:50:34 +08:00
lis2mdl: cleanup device interface on destruction
This commit is contained in:
@@ -63,6 +63,8 @@ LIS2MDL::~LIS2MDL()
|
||||
perf_free(_comms_errors);
|
||||
perf_free(_range_errors);
|
||||
perf_free(_conf_errors);
|
||||
|
||||
delete _interface;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user