[Commits] [SCM] claws branch, master, updated. 3.17.0-93-g9981c57
mones at claws-mail.org
mones at claws-mail.org
Sun Oct 7 13:29:04 CEST 2018
The branch, master has been updated
via 9981c575ca466b3d9be9b1629cd919d01323f1a9 (commit)
from 211be785e411ef0ee5d4136a789c09eaa70b489e (commit)
Summary of changes:
src/procmime.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 9981c575ca466b3d9be9b1629cd919d01323f1a9
Author: Ricardo Mones <ricardo at mones.org>
Date: Sun Oct 7 13:27:30 2018 +0200
Fix CID 1439996 and remove unnecessary comparison
diff --git a/src/procmime.c b/src/procmime.c
index c47c7b6..02c49a0 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -939,12 +939,10 @@ FILE *procmime_get_binary_content(MimeInfo *mimeinfo)
}
outfp = procmime_fopen(tmpfile, "w+");
-#endif
- if (tmpfile != NULL) {
- g_unlink(tmpfile);
- g_free(tmpfile);
- }
+ g_unlink(tmpfile);
+ g_free(tmpfile);
+#endif
if (procmime_get_part_to_stream(outfp, mimeinfo) < 0) {
return NULL;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list