mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* gnc-ledger-display.c -- fix a memory leak (you need to g_list_free()
the returned list from xaccGroupGetSubAccounts(), according to the docs) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7340 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ec02c44c15
commit
2552b94b42
@ -39,6 +39,9 @@
|
||||
* split-register-model.c -- If the TxnType != NONE, set all cells as
|
||||
READ_ONLY.
|
||||
* fixes bug 96028 by making posted invoices and payments read-only.
|
||||
|
||||
* gnc-ledger-display.c -- fix a memory leak (you need to g_list_free()
|
||||
the returned list from xaccGroupGetSubAccounts(), according to the docs)
|
||||
|
||||
2002-10-16 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
|
@ -437,6 +437,7 @@ gnc_ledger_display_gl (void)
|
||||
tAG = gnc_book_get_template_group( gnc_get_current_book() );
|
||||
al = xaccGroupGetSubAccounts( tAG );
|
||||
xaccQueryAddAccountMatch( query, al, GUID_MATCH_NONE, QUERY_AND );
|
||||
g_list_free (al);
|
||||
al = NULL;
|
||||
tAG = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user