lis2mdl: cleanup device interface on destruction

This commit is contained in:
Daniel Agar
2020-08-13 11:54:22 -04:00
committed by Beat Küng
parent f8241f144c
commit 03efea9d73
@@ -63,6 +63,8 @@ LIS2MDL::~LIS2MDL()
perf_free(_comms_errors);
perf_free(_range_errors);
perf_free(_conf_errors);
delete _interface;
}
int