[Commits] [SCM] claws branch, master, updated. 3.18.0-244-gb78affce7
wwp at claws-mail.org
wwp at claws-mail.org
Tue Oct 5 09:19:09 CEST 2021
The branch, master has been updated
via b78affce7abf1a9cfb125b674d72aaa5c74f6c0b (commit)
from f6c082178f7362a8711f12fd80db078096777c06 (commit)
Summary of changes:
src/news.c | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit b78affce7abf1a9cfb125b674d72aaa5c74f6c0b
Author: wwp <subscript at free.fr>
Date: Tue Oct 5 09:18:43 2021 +0200
Fix VID 1491252: resource leak.
diff --git a/src/news.c b/src/news.c
index f03f67a2f..e45c18c38 100644
--- a/src/news.c
+++ b/src/news.c
@@ -951,6 +951,7 @@ gint news_cancel_article(Folder * folder, MsgInfo * msginfo)
if ((tmpfp = claws_fopen(tmp, "wb")) == NULL) {
FILE_OP_ERROR(tmp, "claws_fopen");
+ g_free(tmp);
return -1;
}
if (change_file_mode_rw(tmpfp, tmp) < 0) {
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list