From 55b9382ad94d11db79052d261877dd648dce972b Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Mon, 18 Sep 2023 22:27:20 +0800 Subject: [PATCH] [utest-gnc-backend-sql] properly clean up QofBook --- libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp b/libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp index a288cc17b6..19f24595f6 100644 --- a/libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp +++ b/libgnucash/backend/sql/test/utest-gnc-backend-sql.cpp @@ -329,7 +329,7 @@ test_gnc_sql_commit_edit (void) g_log_remove_handler (logdomain, hdlr1); g_object_unref (inst); - g_object_unref (book); + qof_book_destroy (book); delete sql_be; } /* handle_and_term