[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-234-gff1794b59

wwp at claws-mail.org wwp at claws-mail.org
Mon Sep 27 18:10:32 CEST 2021


The branch, gtk3 has been updated
       via  ff1794b59bdf1658bc102296dca084335e7295b0 (commit)
      from  9ed7cc63f9a3c406af09ad13d5038cfe58a35ea9 (commit)

Summary of changes:
 src/procmsg.c | 2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit ff1794b59bdf1658bc102296dca084335e7295b0
Author: wwp <subscript at free.fr>
Date:   Mon Sep 27 18:10:16 2021 +0200

    Fix CID 1491018: resource leak.

diff --git a/src/procmsg.c b/src/procmsg.c
index 4a60fbe7b..4c7efb5e3 100644
--- a/src/procmsg.c
+++ b/src/procmsg.c
@@ -781,6 +781,8 @@ static PrefsAccount *procmsg_get_account_from_file(const gchar *file)
 		g_free(buf);
 		buf = NULL;
 	}
+	if (buf)
+		g_free(buf);
 	claws_fclose(fp);
 	return mailac;
 }

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list