[account.cpp] char* must be freed

This commit is contained in:
Christopher Lam 2022-04-02 14:14:50 +08:00
parent 11458bf8b3
commit ee8729dfb6

View File

@ -6025,6 +6025,8 @@ gnc_account_imap_get_info (Account *acc, const char *category)
qof_instance_foreach_slot (QOF_INSTANCE(acc), IMAP_FRAME, category,
build_non_bayes, &imapInfo);
}
g_free (imapInfo.head);
g_free (imapInfo.category);
return g_list_reverse(imapInfo.list);
}