mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:59:38 +00:00
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:
parent
6682730b99
commit
1fca942138
@ -64,7 +64,7 @@ StatManager::StatManager(const QString &filePath, QObject *parent, quint32 openF
|
|||||||
|
|
||||||
StatManager::~StatManager()
|
StatManager::~StatManager()
|
||||||
{
|
{
|
||||||
delete sqliteDb();
|
delete m_sqliteDb;
|
||||||
}
|
}
|
||||||
|
|
||||||
void StatManager::setConf(const FirewallConf *conf)
|
void StatManager::setConf(const FirewallConf *conf)
|
||||||
|
Loading…
Reference in New Issue
Block a user