From: Jani Nikula Date: Tue, 13 Sep 2016 17:14:20 +0000 (+0300) Subject: cli/reply: do not parse Reply-To: header into internet address list twice X-Git-Tag: 0.23_rc0~26 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=932c0ff879ddaf38f1e4ae325c061132d6af1026;hp=932c0ff879ddaf38f1e4ae325c061132d6af1026;p=notmuch 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. ---