projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395844e
)
Fix CID 1491293: resource leak.
author
wwp
<subscript@free.fr>
Thu, 30 Sep 2021 10:00:27 +0000
(12:00 +0200)
committer
wwp
<subscript@free.fr>
Thu, 30 Sep 2021 10:00:27 +0000
(12:00 +0200)
src/partial_download.c
patch
|
blob
|
history
diff --git
a/src/partial_download.c
b/src/partial_download.c
index 8ca3bbdb8b36b698004fd2ab6af7801b0e9b4cc8..49dc37530199648a256103bc97ae8aad02670272 100644
(file)
--- 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;
}
-