diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-08-03 14:08:04 +0300 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-08-12 08:28:07 +0000 |
commit | c38ac3dab8cbbdb494e09ccebe93c4e57a9987c3 (patch) | |
tree | a6c217600bd936c0b07c5e908cf1f4396a42eb42 /header.LGPL3 | |
parent | b57f743c469f16f0c9ad5a9f0182454b74deff97 (diff) |
tst_QStringListModel: don't leak memory when tests fail
Simply allocate objects on the stack instead of the heap.
Change-Id: Ic047d78e49668878821cce1c8ab599a8551b6476
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'header.LGPL3')
0 files changed, 0 insertions, 0 deletions