From 80ca97d41b7ba9eb3ae3d7184852f44433c82a80 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 19 Jun 2021 18:26:31 +0300 Subject: [PATCH] UI: AppInfoManager: Fix PVS-Studio warning. V773 The 'm_sqliteDb' pointer was not released in destructor. A memory leak is possible. appinfomanager.cpp 72 --- src/ui/appinfo/appinfomanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/appinfo/appinfomanager.cpp b/src/ui/appinfo/appinfomanager.cpp index f6546c28..f5be4109 100644 --- a/src/ui/appinfo/appinfomanager.cpp +++ b/src/ui/appinfo/appinfomanager.cpp @@ -68,7 +68,7 @@ AppInfoManager::AppInfoManager(const QString &filePath, QObject *parent, quint32 AppInfoManager::~AppInfoManager() { - delete sqliteDb(); + delete m_sqliteDb; } void AppInfoManager::setUp()