path: root/bin
diff options
authorMarc Mutz <>2016-09-27 10:22:46 +0200
committerMarc Mutz <>2016-09-28 04:56:48 +0000
commitda2c73ad2b84ef9d58a23fa880c05ca33a0053e5 (patch)
tree3a49bf37d7c54d2e71a61452abce89fbd18d0a31 /bin
parent24314c73ae711fb9bd16626c41a09ddeee0a7001 (diff)
Plug memleaks in tst_QWidget
We need to delete the style returned from QStyleFactory::create() ourselves, so put them into a QScopedPointer. The alternative would have been to create this once, as a member of tst_QWidget, but this is the minimal approach that ensures behavior just as the old code, but without the leak. Change-Id: I527f1031c57be6f05942f4acc057e7dae1af2571 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions