qt5base-lts/tests/auto/dbus/qdbusmetaobject
Marc Mutz 940d667eb4 Plug leaks in tests/auto/dbus
In tst_QDBusMetaObject::types(), hold a QMetaObject obtained from
QDBusMetaObject::createMetaObject() in a QScopedPointer instead of
leaking it. Use correct return value type.

This fixes the remaining errors in GCC 6.1 Linux ASan runs of
tests/auto/dbus.

Change-Id: I1df7f8e42d45f40ecf381fe7b684a8ab5ebee675
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-01-26 10:33:28 +00:00
..
.gitignore
qdbusmetaobject.pro Merge remote-tracking branch 'origin/5.6' into dev 2016-01-08 12:35:24 +01:00
tst_qdbusmetaobject.cpp Plug leaks in tests/auto/dbus 2017-01-26 10:33:28 +00:00