summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
diff options
context:
space:
mode:
authorAurélien Brooke <aurelien@bahiasoft.fr>2025-04-12 09:21:19 +0200
committerAurélien Brooke <aurelien@bahiasoft.fr>2025-04-12 20:34:49 +0200
commit10d7de1f5c1c086fc791fc85e3535442b38f03c5 (patch)
treeedc66aa2e0f494d3c8fec2d33cf58769ed507efe /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
parent0b668c2f55f0fc797a2366b3dc73395f79e1b585 (diff)
QVarLengthArray: call sizedFree() with the capacity and not the size
Using the size accidentally worked since most of the time Qt adds elements one by one to QVLAs. Amends 03d5daf9437d8b46db2e89e3a9763ea701fa681c. Change-Id: I9ee6500b758f2ebf6dcc5ae8e898d3241f10af41 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions