[Commits] [SCM] claws branch, master, updated. 3.18.0-179-g340e813e7

wwp at claws-mail.org wwp at claws-mail.org
Mon Sep 27 18:31:53 CEST 2021


The branch, master has been updated
       via  340e813e727d905fa535594e19b6089b2d2bd947 (commit)
      from  65b412d59d4e147cfd0a7e261a2de863f1bc1e22 (commit)

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


- Log -----------------------------------------------------------------
commit 340e813e727d905fa535594e19b6089b2d2bd947
Author: wwp <subscript at free.fr>
Date:   Mon Sep 27 18:31:41 2021 +0200

    Fix CID 1492279: resource leak.

diff --git a/src/prefs_account.c b/src/prefs_account.c
index 51f0a4087..5252d3202 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -4540,6 +4540,7 @@ void prefs_account_write_config_all(GList *account_list)
 		if (fprintf(pfile->fp, "[Account: %d]\n",
 			    tmp_ac_prefs.account_id) <= 0) {
 			g_free(pfile);
+			g_free(rcpath);
 			return;
         }
         

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list