diff --git a/libgnucash/engine/Account.cpp b/libgnucash/engine/Account.cpp index e1e8e0f3d7..92f4d2bf5b 100644 --- a/libgnucash/engine/Account.cpp +++ b/libgnucash/engine/Account.cpp @@ -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); }