]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-imap: imap-envelope: Removed useless pool field from struct message_part_envelope...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 23 Oct 2016 11:52:10 +0000 (13:52 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 20 Feb 2017 09:26:11 +0000 (11:26 +0200)
src/lib-imap/imap-envelope.c

index f377ddbf94fbc1fddb8513c7df0a3b6b586af6d8..02915aea48632b60e7ed3829aae2511862962a92 100644 (file)
@@ -10,8 +10,6 @@
 #include "imap-quote.h"
 
 struct message_part_envelope_data {
-       pool_t pool;
-
        const char *date, *subject;
        struct message_address *from, *sender, *reply_to;
        struct message_address *to, *cc, *bcc;
@@ -93,7 +91,6 @@ void imap_envelope_parse_header(pool_t pool,
 
        if (*data == NULL) {
                *data = p_new(pool, struct message_part_envelope_data, 1);
-               (*data)->pool = pool;
        }
 
        if (hdr == NULL || !imap_envelope_get_field(hdr->name, &field))