UI: StatManager: Fix PVS-Studio warning.

V773 The 'm_sqliteDb' pointer was not released in destructor. A memory leak is possible. statmanager.cpp 68
This commit is contained in:
Nodir Temirkhodjaev 2021-06-19 08:53:02 +03:00
parent 6682730b99
commit 1fca942138

View File

@ -64,7 +64,7 @@ StatManager::StatManager(const QString &filePath, QObject *parent, quint32 openF
StatManager::~StatManager()
{
delete sqliteDb();
delete m_sqliteDb;
}
void StatManager::setConf(const FirewallConf *conf)