]> git.notmuchmail.org Git - notmuch/commitdiff
cli/reply: do not parse Reply-To: header into internet address list twice
authorJani Nikula <jani@nikula.org>
Tue, 13 Sep 2016 17:14:20 +0000 (20:14 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 17 Sep 2016 12:14:20 +0000 (09:14 -0300)
Avoid parsing Reply-To: header into internet address list twice. Move
the parsing outside of reply_to_header_is_redundant(), and pass the
parsed internet address list in as parameter. This also avoids leaking
the memory of one copy of the internet address list.


No differences found