changeset 21624:cd2324ec340d

lib-imap: imap-envelope: Removed useless pool field from struct message_part_envelope_data.
author Stephan Bosch <stephan.bosch@dovecot.fi>
date Sun, 23 Oct 2016 13:52:10 +0200
parents ff0f2eb98d79
children 06bcaedc2149
files src/lib-imap/imap-envelope.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-imap/imap-envelope.c	Sun Oct 23 13:50:05 2016 +0200
+++ b/src/lib-imap/imap-envelope.c	Sun Oct 23 13:52:10 2016 +0200
@@ -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 @@
 
 	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))