diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-03 20:04:24 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-03 20:28:03 -0700 |
commit | 3c96d5e0d568408e0505841af39aa2d539ebaf36 (patch) | |
tree | 9487ae8bd6556f81e634193158d101d3f81dfc98 /tests/Task_test.cpp | |
parent | c5705705d5b40e8157a88612c8a7e83f32f6745b (diff) | |
download | PrismLauncher-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.cpp | 1 |
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: |