r18492 - gnucash/trunk/src/backend/sql - Free prices so that they can be deleted when the book is closed
Phil Longstaff
plongstaff at code.gnucash.org
Sun Dec 13 14:18:36 EST 2009
Author: plongstaff
Date: 2009-12-13 14:18:35 -0500 (Sun, 13 Dec 2009)
New Revision: 18492
Trac: http://svn.gnucash.org/trac/changeset/18492
Modified:
gnucash/trunk/src/backend/sql/gnc-price-sql.c
Log:
Free prices so that they can be deleted when the book is closed
Modified: gnucash/trunk/src/backend/sql/gnc-price-sql.c
===================================================================
--- gnucash/trunk/src/backend/sql/gnc-price-sql.c 2009-12-13 00:42:12 UTC (rev 18491)
+++ gnucash/trunk/src/backend/sql/gnc-price-sql.c 2009-12-13 19:18:35 UTC (rev 18492)
@@ -111,6 +111,7 @@
if( pPrice != NULL ) {
(void)gnc_pricedb_add_price( pPriceDB, pPrice );
+ gnc_price_unref( pPrice );
}
row = gnc_sql_result_get_next_row( result );
}
More information about the gnucash-changes
mailing list