gnucash maint: Bug 798203 - g_assert fault while reversing transaction
John Ralls
jralls at code.gnucash.org
Sat Jun 12 16:39:28 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/68ec80e6 (commit)
from https://github.com/Gnucash/gnucash/commit/e625bc2f (commit)
commit 68ec80e68d575a0ca5b550ebcbbcc61226c01cd4
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 12 13:23:36 2021 -0700
Bug 798203 - g_assert fault while reversing transaction
* Re-commit the original transaction to ensure that there aren't
any stray trading splits.
* If the original and cloned transactions have a different number of
splits don't leak the cloned transaction.
* Check that the cloned transaction isn't NULL before trying to invert
it.
Summary of changes:
libgnucash/engine/Transaction.c | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
More information about the gnucash-patches
mailing list