mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-02 20:30:45 -06:00
Fix memory leaks in gncOwnerGetBalanceInCurrency
This commit is contained in:
1 parent
4e71629966
commit
62eb95c05c
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user