]> granicus.if.org Git - neomutt/commit
Preserve forwarded attachment names in d_filename.
authorKevin McCarthy <kevin@8t8.us>
Tue, 4 Oct 2016 18:13:24 +0000 (11:13 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 9 Oct 2016 10:39:08 +0000 (11:39 +0100)
commit1ac617f9d4f93bbbb9cc7e19b767e21686f7a01d
tree681288d1c297aba8355f2d85ad226817037f22e8
parent28b51549325e45f08951a7400fa921443db2574b
Preserve forwarded attachment names in d_filename.

When forwarding an attachment with an non-ascii name, mutt_copy_body()
mangles the filename when calling mutt_adv_mktemp.  Preserve
the original attachment filename in d_filename.

Remove the double copy of b->filename, which is a memory leak.
muttlib.c