Fix memory leaks in gncOwnerGetBalanceInCurrency

This commit is contained in:
Geert Janssens committed 2018-09-14 11:34:45 +02:00
1 parent 4e71629966
commit 62eb95c05c
1 file changed
+3
+3
View File
@@ -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);