changeset 8164:314fab62b3d1 HEAD

pop3: Don't crash in UIDL command.
author Timo Sirainen <tss@iki.fi>
date Sun, 07 Sep 2008 10:54:46 +0300
parents 498dd1ec2b93
children 459c4c496983
files src/pop3/commands.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/pop3/commands.c	Fri Sep 05 21:19:06 2008 +0300
+++ b/src/pop3/commands.c	Sun Sep 07 10:54:46 2008 +0300
@@ -503,8 +503,6 @@
 	struct mail_search_context *search_ctx;
 	struct mail *mail;
 	unsigned int message;
-
-	struct mail_search_arg search_arg;
 };
 
 static void pop3_get_uid(struct cmd_uidl_context *ctx,
@@ -601,7 +599,6 @@
 
 	if (ctx->message == 0)
 		client_send_line(client, ".");
-	array_free(&ctx->search_arg.value.seqset);
 	i_free(ctx);
 	return found;
 }