Memory management fixes in tests.

This commit is contained in:
Felix Geyer 2012-04-22 23:09:52 +02:00
parent ecc11d3207
commit bf25959b68
6 changed files with 33 additions and 20 deletions

View file

@ -93,4 +93,10 @@ void TestKeePass2Writer::testAttachments()
QCOMPARE(entry->attachments()->value("aaa.txt"), QByteArray("also an attachment"));
}
void TestKeePass2Writer::cleanupTestCase()
{
delete m_dbOrg;
delete m_dbTest;
}
KEEPASSX_QTEST_CORE_MAIN(TestKeePass2Writer)