[Commits] [SCM] claws branch, master, updated. 3.18.0-191-g045269e91

wwp at claws-mail.org wwp at claws-mail.org
Tue Sep 28 16:54:41 CEST 2021


The branch, master has been updated
       via  045269e915ee5d0c7345c9f08ecb347037b2efee (commit)
      from  6d2e1e14c6314f773f710219c4475fa88a19ba29 (commit)

Summary of changes:
 src/plugins/smime/smime.c | 3 ---
 1 file changed, 3 deletions(-)


- Log -----------------------------------------------------------------
commit 045269e915ee5d0c7345c9f08ecb347037b2efee
Author: wwp <subscript at free.fr>
Date:   Tue Sep 28 16:54:22 2021 +0200

    Fix CID 1492282, 1492283: double free.

diff --git a/src/plugins/smime/smime.c b/src/plugins/smime/smime.c
index 976039486..324fc67df 100644
--- a/src/plugins/smime/smime.c
+++ b/src/plugins/smime/smime.c
@@ -849,9 +849,6 @@ gboolean smime_encrypt(MimeInfo *mimeinfo, const gchar *encrypt_data)
 			FILE_OP_ERROR(tmpfile, "claws_fwrite");
 			claws_fclose(fp);
 			claws_unlink(tmpfile);
-			g_free(tmpfile);
-			g_free(enccontent);
-			g_free(tmpfile);
 		}
 		if (claws_safe_fclose(fp) == EOF) {
 			FILE_OP_ERROR(tmpfile, "claws_fclose");

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list