diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/benchmarks/testlib/tostring/tst_tostring.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/benchmarks/testlib/tostring/tst_tostring.cpp b/tests/benchmarks/testlib/tostring/tst_tostring.cpp index 1731929f98..a1c4aba916 100644 --- a/tests/benchmarks/testlib/tostring/tst_tostring.cpp +++ b/tests/benchmarks/testlib/tostring/tst_tostring.cpp @@ -95,7 +95,8 @@ void tst_toString::numeric() QFETCH(T, datum); QBENCHMARK { - QTest::toString<T>(datum); + auto tst = QTest::toString<T>(datum); + delete [] tst; } } |