Fix (again) CID 1491255: resource leak.

This commit is contained in:
wwp 2021-10-03 22:19:37 +02:00
parent 3188ba8135
commit 148912d837

View file

@ -2368,6 +2368,8 @@ Compose *compose_reedit(MsgInfo *msginfo, gboolean batch)
}
if (!account) {
account = cur_account;
if (manual_headers)
procheader_entries_free(manual_headers);
}
cm_return_val_if_fail(account != NULL, NULL);