summaryrefslogtreecommitdiffstats
path: root/tests/manual/windowflags/controls.cpp
diff options
context:
space:
mode:
authorAhmad Samir <[email protected]>2023-08-17 01:08:51 +0300
committerAhmad Samir <[email protected]>2023-08-18 23:40:29 +0300
commit5941f192ab84fec21ab762ad3b54378a75f9c99e (patch)
treeb14566592eb8fb346677a605dd09328d6f38e76a /tests/manual/windowflags/controls.cpp
parent0b3390f33d4f995273289ccc49ce235619c2903d (diff)
tst_QtBench: fix leak
Instead make "benchmarks" a member variable and call qDeleteAll() on it in cleanupTestCase(). This doesn't make much difference since the allocated resources would be freed when the whole test is destroyed anyway, but still. Change-Id: Iba66d32697fd3f2283185ee65a0a514176b4b258 Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'tests/manual/windowflags/controls.cpp')
0 files changed, 0 insertions, 0 deletions