mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-25 19:41:37 -08:00
Clean up objects in the tests.
This commit is contained in:
1 parent
5cb906c235
commit
a104e859cf
4 files changed
+37
-9
No files matched your search
@@ -45,7 +45,7 @@ void TestEntryModel::test()
|
||||
|
||||
EntryModel* model = new EntryModel(this);
|
||||
|
||||
new ModelTest(model, this);
|
||||
ModelTest* modelTest = new ModelTest(model, this);
|
||||
|
||||
model->setGroup(group1);
|
||||
|
||||
@@ -87,6 +87,9 @@ void TestEntryModel::test()
|
||||
|
||||
delete group1;
|
||||
delete group2;
|
||||
|
||||
delete modelTest;
|
||||
delete model;
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestEntryModel);
|
||||
Reference in new issue
Block a user