diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2023-08-17 01:08:51 +0300 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-08-18 23:40:29 +0300 |
commit | 5941f192ab84fec21ab762ad3b54378a75f9c99e (patch) | |
tree | b14566592eb8fb346677a605dd09328d6f38e76a /tests/auto/other/qaccessibility/tst_qaccessibility.cpp | |
parent | 0b3390f33d4f995273289ccc49ce235619c2903d (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 <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/other/qaccessibility/tst_qaccessibility.cpp')
0 files changed, 0 insertions, 0 deletions