mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix account-tree double-free in scheme test when built with gcc.
Oddly when built with clang it doesn't exhibit the crash.
This commit is contained in:
@@ -83,8 +83,7 @@
|
||||
(create-account book expenses ACCT-TYPE-EXPENSE "Rent")))
|
||||
|
||||
(define (cleanup book root)
|
||||
(xaccAccountBeginEdit root)
|
||||
(xaccAccountDestroy root)
|
||||
;; Destroying the book destroys the account tree too
|
||||
(qof-book-destroy book))
|
||||
|
||||
(define (test-make-account-list-option book)
|
||||
|
||||
Reference in New Issue
Block a user