r13922 - gnucash/trunk/src/engine - More consistent Lot<->Split handling. Try to use the right API for adding

Chris Shoemaker chris at cvs.gnucash.org
Thu May 4 20:58:18 EDT 2006


Author: chris
Date: 2006-05-04 20:58:17 -0400 (Thu, 04 May 2006)
New Revision: 13922
Trac: http://svn.gnucash.org/trac/changeset/13922

Modified:
   gnucash/trunk/src/engine/Split.c
Log:
   More consistent Lot<->Split handling.  Try to use the right API for adding
   a cloned Split to the Lot.  Make sure to remove the Split from the Lot when
   deleting a Split.  (This prevents use-after-free by test-lots.)  Add some 
   comments to some strange code that's possibly wrong.




More information about the gnucash-patches mailing list