[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-249-gced627e75

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


The branch, gtk3 has been updated
       via  ced627e7504468adcde5011f1280aaea626fe79c (commit)
      from  08acbbba350c2f83ee798c162ca54dcdd0be2f62 (commit)

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


- Log -----------------------------------------------------------------
commit ced627e7504468adcde5011f1280aaea626fe79c
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