gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Wed Apr 22 14:31:47 EDT 2026
Updated via https://github.com/Gnucash/gnucash/commit/bdbc08e0 (commit)
via https://github.com/Gnucash/gnucash/commit/d4c6101c (commit)
from https://github.com/Gnucash/gnucash/commit/6eee5402 (commit)
commit bdbc08e0abaf1cbd88a34145f933ed266c8051db
Author: John Ralls <jralls at ceridwen.us>
Date: Wed Apr 22 11:28:31 2026 -0700
Python Bindings: Destroy the QofSession in the Python Session dtor.
Failing to do so can leave a DBI database locked, see
https://github.com/Gnucash/gnucash/pull/2203
commit d4c6101c6c9c284503086f9603704ac80320e9d2
Author: John Ralls <jralls at ceridwen.us>
Date: Wed Apr 22 11:24:18 2026 -0700
Return immediately from qof_book_destroy if hash_of_collections is null.
If qof_book_destroy is called on a QofBook* freshly created with
qof_book_new (usually because it was used to create a session that now
must be destroyed) it would try to empty the non-existent hash tables,
crashing.
Summary of changes:
bindings/python/gnucash_core.py | 1 +
libgnucash/engine/qofbook.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
More information about the gnucash-patches
mailing list