mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[account.cpp] char* must be freed
This commit is contained in:
parent
11458bf8b3
commit
ee8729dfb6
@ -6025,6 +6025,8 @@ gnc_account_imap_get_info (Account *acc, const char *category)
|
|||||||
qof_instance_foreach_slot (QOF_INSTANCE(acc), IMAP_FRAME, category,
|
qof_instance_foreach_slot (QOF_INSTANCE(acc), IMAP_FRAME, category,
|
||||||
build_non_bayes, &imapInfo);
|
build_non_bayes, &imapInfo);
|
||||||
}
|
}
|
||||||
|
g_free (imapInfo.head);
|
||||||
|
g_free (imapInfo.category);
|
||||||
return g_list_reverse(imapInfo.list);
|
return g_list_reverse(imapInfo.list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user