forked from Archive/PX4-Autopilot
rm3100: cleanup device interface on destruction
This commit is contained in:
parent
f1e5b1d284
commit
877c19704a
|
@ -66,6 +66,8 @@ RM3100::~RM3100()
|
|||
perf_free(_comms_errors);
|
||||
perf_free(_range_errors);
|
||||
perf_free(_conf_errors);
|
||||
|
||||
delete _interface;
|
||||
}
|
||||
|
||||
int RM3100::self_test()
|
||||
|
|
Loading…
Reference in New Issue