mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[import-backend.cpp] match_list members must be freed
they were allocated in split_find_match with g_new0
This commit is contained in:
parent
e91752dba2
commit
0909fd9b0f
@ -340,7 +340,7 @@ void gnc_import_TransInfo_delete (GNCImportTransInfo *info)
|
||||
{
|
||||
if (info)
|
||||
{
|
||||
g_list_free (info->match_list);
|
||||
g_list_free_full (info->match_list, g_free);
|
||||
/*If the transaction exists and is still open, it must be destroyed*/
|
||||
if (xaccTransIsOpen(info->trans))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user