aboutsummaryrefslogtreecommitdiff
path: root/tests/Task_test.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-07-03 20:04:24 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-07-03 20:28:03 -0700
commit3c96d5e0d568408e0505841af39aa2d539ebaf36 (patch)
tree9487ae8bd6556f81e634193158d101d3f81dfc98 /tests/Task_test.cpp
parentc5705705d5b40e8157a88612c8a7e83f32f6745b (diff)
downloadPrismLauncher-3c96d5e0d568408e0505841af39aa2d539ebaf36.tar.gz
PrismLauncher-3c96d5e0d568408e0505841af39aa2d539ebaf36.tar.bz2
PrismLauncher-3c96d5e0d568408e0505841af39aa2d539ebaf36.zip
fix: memory leaks in tests
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'tests/Task_test.cpp')
-rw-r--r--tests/Task_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Task_test.cpp b/tests/Task_test.cpp
index dabe5da2..a57102d6 100644
--- a/tests/Task_test.cpp
+++ b/tests/Task_test.cpp
@@ -80,6 +80,7 @@ class BigConcurrentTaskThread : public QThread {
QCoreApplication::processEvents();
emit finished();
+ delete[] sub_tasks;
}
public: