Fix account-tree double-free in scheme test when built with gcc.

Oddly when built with clang it doesn't exhibit the crash.
pull/1191/head
John Ralls 6 years ago
parent 691cb0992e
commit cd6ccbe331

@ -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)

Loading…
Cancel
Save