[Commits] [SCM] claws branch, master, updated. 3.18.0-176-g96f3f29c0
wwp at claws-mail.org
wwp at claws-mail.org
Mon Sep 27 18:10:29 CEST 2021
The branch, master has been updated
via 96f3f29c0514ee2add5045e783d1bd5fd3626ca2 (commit)
from 0b2802f8f52ac24b6726abec545d04fd3c07d343 (commit)
Summary of changes:
src/procmsg.c | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit 96f3f29c0514ee2add5045e783d1bd5fd3626ca2
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