[Commits] [SCM] claws branch, master, updated. 3.18.0-190-g6d2e1e14c

wwp at claws-mail.org wwp at claws-mail.org
Tue Sep 28 16:46:37 CEST 2021


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

Summary of changes:
 src/prefs_account.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 6d2e1e14c6314f773f710219c4475fa88a19ba29
Author: wwp <subscript at free.fr>
Date:   Tue Sep 28 16:46:24 2021 +0200

    Fix CID 1492279: resource leak.

diff --git a/src/prefs_account.c b/src/prefs_account.c
index 5252d3202..790b2c8c5 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -4518,7 +4518,8 @@ static void create_privacy_prefs(gpointer key, gpointer _value, gpointer user_da
 			prefs_file_close_revert(pfile); \
 			g_free(privacy_prefs); \
 			privacy_prefs = NULL; \
-		    	return; \
+			g_free(rcpath); \
+			return; \
  		}
 
 void prefs_account_write_config_all(GList *account_list)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list