]> git.cworth.org Git - notmuch/commit
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)
commit932c0ff879ddaf38f1e4ae325c061132d6af1026
tree701e3a62818eb9c7dedabd93584d5f962c219fb1
parent536b1f9df989915161024d2334e206f538d59f9b
cli/reply: do not parse Reply-To: header into internet address list twice

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.
notmuch-reply.c