[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-307-g216d11f75

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


The branch, gtk3 has been updated
       via  216d11f75a839a5bb260b9752ae620cb94f591d6 (commit)
      from  6bd9ed9fc4182b6a514864d799212f6d1d148cac (commit)

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


- Log -----------------------------------------------------------------
commit 216d11f75a839a5bb260b9752ae620cb94f591d6
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