Free prices so that they can be deleted when the book is closed

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18492 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-12-13 19:18:35 +00:00
parent 15491e23e7
commit 49a9fb8bc9

View File

@ -111,6 +111,7 @@ load_all_prices( GncSqlBackend* be )
if( pPrice != NULL ) {
(void)gnc_pricedb_add_price( pPriceDB, pPrice );
gnc_price_unref( pPrice );
}
row = gnc_sql_result_get_next_row( result );
}