[Commits] [SCM] claws branch, master, updated. 3.18.0-245-g7c6bf43b8

wwp at claws-mail.org wwp at claws-mail.org
Tue Oct 5 09:35:10 CEST 2021


The branch, master has been updated
       via  7c6bf43b8339fc03f8c56fc346a9ba9ba6c5695f (commit)
      from  b78affce7abf1a9cfb125b674d72aaa5c74f6c0b (commit)

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


- Log -----------------------------------------------------------------
commit 7c6bf43b8339fc03f8c56fc346a9ba9ba6c5695f
Author: wwp <subscript at free.fr>
Date:   Tue Oct 5 09:35:00 2021 +0200

    Fix CID 1491222: resource leak.

diff --git a/src/msgcache.c b/src/msgcache.c
index 2fc9edcdb..6c815be76 100644
--- a/src/msgcache.c
+++ b/src/msgcache.c
@@ -318,6 +318,7 @@ gint msgcache_get_memory_usage(MsgCache *cache)
 {												\
 	if (rem_len < 4) {									\
 		g_print("error at rem_len:%d\n", rem_len);					\
+		procmsg_msginfo_free(&msginfo); \
 		error = TRUE;									\
 		goto bail_err;									\
 	}											\

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list