[test-qofbook] plugs Account* leak

pull/1773/head
Christopher Lam 3 years ago
parent 41167e3270
commit 1ddee7dc3f

@ -64,6 +64,9 @@ setup( Fixture *fixture, gconstpointer pData )
static void
teardown( Fixture *fixture, gconstpointer pData )
{
Account *root = gnc_book_get_root_account (fixture->book);
xaccAccountBeginEdit (root);
xaccAccountDestroy (root);
qof_book_destroy( fixture->book );
}

Loading…
Cancel
Save