talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 7c6bf43b8339fc03f8c56fc346a9ba9ba6c5695f
parent b78affce7abf1a9cfb125b674d72aaa5c74f6c0b
Author: wwp <subscript@free.fr>
Date:   Tue,  5 Oct 2021 09:35:00 +0200

Fix CID 1491222: resource leak.

Diffstat:
Msrc/msgcache.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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; \ } \