mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Correct memory leak found with valgrind
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20364 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -666,6 +666,8 @@ gnc_ui_account_get_tax_info_sub_acct_string (const Account *account)
|
||||
if (xaccAccountGetTaxRelated (descendant->data))
|
||||
sub_acct_tax_number++;
|
||||
}
|
||||
g_list_free (account_descendants);
|
||||
g_list_free (descendant);
|
||||
/* Translators: This and the following strings appear on
|
||||
* the account tab if the Tax Info column is displayed,
|
||||
* i.e. if the user wants to record the tax form number
|
||||
|
||||
Reference in New Issue
Block a user