Fix memory leak in auto test

Change-Id: I2e8d8cc0f248122b06c7c8313d8effac887adaa8
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
Lars Knoll 2019-03-25 12:34:02 +01:00
parent 993b049adf
commit a9cd08c3f3

View File

@ -1330,6 +1330,8 @@ void tst_QThread::quitLock()
QCOMPARE(job->thread(), &thread);
loop.exec();
QVERIFY(exitThreadCalled);
delete job;
}
void tst_QThread::create()