commit 247578410f3b87ac8af227a834a7b5e1736156e8 parent a5e0ec4815468204b09a4e4afcf3b75cfe23f97e Author: Colin Leroy <colin@colino.net> Date: Sun, 7 Oct 2018 14:16:04 +0200 Merge branch 'master' of ssh://git.claws-mail.org/home/git/claws Diffstat:
| M | src/procmime.c | | | 8 | +++----- |
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/procmime.c b/src/procmime.c @@ -886,12 +886,10 @@ FILE *procmime_get_binary_content(MimeInfo *mimeinfo) return TRUE; } - outfp = claws_fopen(tmpfile, "w+"); + outfp = procmime_fopen(tmpfile, "w+"); - 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) {