commit 148912d837227a7db693eab56c39a383fe54087d
parent 3188ba81356cc381f288fd64e1efa88d261accf9
Author: wwp <subscript@free.fr>
Date: Sun, 3 Oct 2021 22:19:37 +0200
Fix (again) CID 1491255: resource leak.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/compose.c b/src/compose.c
@@ -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);