r17211 - gnucash/branches/gda-dev2/src - 1) Fix memory leaks in sql backend
Phil Longstaff
plongstaff at cvs.gnucash.org
Tue Jun 10 21:18:53 EDT 2008
Author: plongstaff
Date: 2008-06-10 21:18:52 -0400 (Tue, 10 Jun 2008)
New Revision: 17211
Trac: http://svn.gnucash.org/trac/changeset/17211
Modified:
gnucash/branches/gda-dev2/src/backend/dbi/gnc-backend-dbi.c
gnucash/branches/gda-dev2/src/backend/file/gnc-account-xml-v2.c
gnucash/branches/gda-dev2/src/backend/gda/gnc-backend-gda.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-backend-util-sql.c
gnucash/branches/gda-dev2/src/backend/sql/gnc-backend-util-sql.h
gnucash/branches/gda-dev2/src/engine/SchedXaction.c
gnucash/branches/gda-dev2/src/engine/gnc-commodity.c
gnucash/branches/gda-dev2/src/gnome-utils/gnc-file.c
gnucash/branches/gda-dev2/src/valgrind-glib.supp
gnucash/branches/gda-dev2/src/valgrind-libguile.supp
Log:
1) Fix memory leaks in sql backend
2) Ensure sqlite file is put into correct path
3) Create a template commodity when a book is initialized. Then, use
this when template accounts are created. This results in 2 template
commodities, one for the template root account and one for the other
template accounts. This is at least better than 1 per template account.
When an sqlite file is loaded, the template root ends up with a NULL
commodity (and a logged message).
More information about the gnucash-patches
mailing list