[Commits] [SCM] claws branch, master, updated. 3.18.0-100-g29baace4f

wwp at claws-mail.org wwp at claws-mail.org
Sat Sep 11 14:07:43 CEST 2021


The branch, master has been updated
       via  29baace4fb29e7c1684d3cfaf6d3baf2dc3ba48d (commit)
      from  af4a2b24ca0c91a1c3f61e6fb74f2a7126aff20d (commit)

Summary of changes:
 src/plugins/smime/smime.c | 1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit 29baace4fb29e7c1684d3cfaf6d3baf2dc3ba48d
Author: wwp <subscript at free.fr>
Date:   Sat Sep 11 14:06:57 2021 +0200

    Fix CID 1491390: resource leak.

diff --git a/src/plugins/smime/smime.c b/src/plugins/smime/smime.c
index 6089bb925..b8905f3ae 100644
--- a/src/plugins/smime/smime.c
+++ b/src/plugins/smime/smime.c
@@ -595,6 +595,7 @@ gboolean smime_sign(MimeInfo *mimeinfo, PrefsAccount *account, const gchar *from
 	fp = my_tmpfile();
 	if (fp == NULL) {
 		perror("my_tmpfile");
+		g_free(boundary);
 		return FALSE;
 	}
 	procmime_write_mimeinfo(sigmultipart, fp);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list