projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a5e0ec4
)
Merge branch 'master' of ssh://git.claws-mail.org/home/git/claws
author
Colin Leroy
<colin@colino.net>
Sun, 7 Oct 2018 12:16:04 +0000
(14:16 +0200)
committer
Colin Leroy
<colin@colino.net>
Sun, 7 Oct 2018 12:16:04 +0000
(14:16 +0200)
src/procmime.c
patch
|
blob
|
history
diff --git
a/src/procmime.c
b/src/procmime.c
index a9f28a5df01781ab798559ecc968284843d0db1b..bcf68e2c97f04ee12a359c8c716908528aa577f6 100644
(file)
--- 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) {