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:
J. Alex Aycinena
2011-03-03 00:30:10 +00:00
parent d381f3bc1e
commit c17a907f08

View File

@@ -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