r21495 - gnucash/trunk/src/engine - Avoid double free of capital gains transactions when quitting
Mike Alexander
mta at code.gnucash.org
Thu Oct 27 23:22:42 EDT 2011
Author: mta
Date: 2011-10-27 23:22:41 -0400 (Thu, 27 Oct 2011)
New Revision: 21495
Trac: http://svn.gnucash.org/trac/changeset/21495
Modified:
gnucash/trunk/src/engine/Transaction.c
Log:
Avoid double free of capital gains transactions when quitting
If an register is open on an account that has capital gains transactions
created by the lot scrubber when you quit Gnucash, a capital gains
transaction may be freed twice since it is freed when the associated
sale is freed and again when it is encountered on the list of
transactions to be freed.
More information about the gnucash-patches
mailing list