Commit 9d830d2d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix mem leak found by ASAN

parent a487ce6d
...@@ -119,6 +119,7 @@ void testProcess::testTimeToUpdateAllProcesses() { ...@@ -119,6 +119,7 @@ void testProcess::testTimeToUpdateAllProcesses() {
QBENCHMARK { QBENCHMARK {
processController->updateAllProcesses(); processController->updateAllProcesses();
} }
delete processController;
} }
void testProcess::testTimeToUpdateModel() { void testProcess::testTimeToUpdateModel() {
KSysGuardProcessList *processList = new KSysGuardProcessList; KSysGuardProcessList *processList = new KSysGuardProcessList;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment