[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-306-g6bd9ed9fc

wwp at claws-mail.org wwp at claws-mail.org
Tue Oct 5 09:19:13 CEST 2021


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

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


- Log -----------------------------------------------------------------
commit 6bd9ed9fc4182b6a514864d799212f6d1d148cac
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 1f1aabe09..b9e4971e1 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