:fix valgrind issues

This commit is contained in:
Jan Käberich 2022-04-23 16:18:21 +02:00
parent f29f62c3f7
commit 53dcff8745
4 changed files with 25 additions and 4 deletions

View file

@ -150,6 +150,7 @@ static constexpr Protocol::DeviceStatusV1 defaultStatusV1 = {
Device::Device(QString serial)
{
info = defaultInfo;
status = {};
m_handle = nullptr;
infoValid = false;