Commit fcbe97bd authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

Fix leaks in documenttest

parent 30297bc4
......@@ -61,6 +61,8 @@ void DocumentTest::testCloseDuringRotationJob()
delete dummyDocumentObserver;
// Test that, if there's a XML file in docdata referring to a document, we
......@@ -110,6 +112,8 @@ void DocumentTest::testDocdataMigration()
QCOMPARE( m_document->page( 0 )->annotations().size(), 0 );
QCOMPARE( m_document->isDocdataMigrationNeeded(), false );
delete m_document;
QTEST_MAIN( DocumentTest )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment