mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix memory leaks in gncOwnerGetBalanceInCurrency
This commit is contained in:
parent
4e71629966
commit
62eb95c05c
@ -1493,7 +1493,10 @@ gncOwnerGetBalanceInCurrency (const GncOwner *owner,
|
||||
balance = gnc_numeric_add (balance, lot_balance,
|
||||
gnc_commodity_get_fraction (owner_currency), GNC_HOW_RND_ROUND_HALF_UP);
|
||||
}
|
||||
g_list_free (lot_list);
|
||||
}
|
||||
g_list_free (acct_list);
|
||||
g_list_free (acct_types);
|
||||
|
||||
pdb = gnc_pricedb_get_db (book);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user