[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-274-gdd904f328
wwp at claws-mail.org
wwp at claws-mail.org
Thu Sep 30 12:00:53 CEST 2021
The branch, gtk3 has been updated
via dd904f328b04c7344f595892e4230bc2c5ba5cf6 (commit)
from 292bd62855074f5b21f671fe1958c71e75e1a2bd (commit)
Summary of changes:
src/partial_download.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit dd904f328b04c7344f595892e4230bc2c5ba5cf6
Author: wwp <subscript at free.fr>
Date: Thu Sep 30 12:00:27 2021 +0200
Fix CID 1491293: resource leak.
diff --git a/src/partial_download.c b/src/partial_download.c
index 8ca3bbdb8..49dc37530 100644
--- a/src/partial_download.c
+++ b/src/partial_download.c
@@ -193,6 +193,7 @@ static int partial_uidl_mark_mail(MsgInfo *msginfo, int download)
if ((fpnew = claws_fopen(pathnew, "wb")) == NULL) {
FILE_OP_ERROR(pathnew, "claws_fopen");
claws_fclose(fp);
+ g_free(path);
g_free(pathnew);
goto bail;
}
@@ -435,4 +436,3 @@ gchar *partial_get_filename(const gchar *server, const gchar *login,
return result;
}
-
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list