mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[test-qofbook] plugs Account* leak
This commit is contained in:
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…
Reference in New Issue
Block a user