dovecot-2.0: imap search args: Allocate uidset from correct memo...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Feb 5 18:04:22 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/7ebf82401e7a
changeset: 10636:7ebf82401e7a
user: Timo Sirainen <tss at iki.fi>
date: Fri Feb 05 18:04:16 2010 +0200
description:
imap search args: Allocate uidset from correct memory pool.
Shouldn't have caused any bugs, but this is the intended way.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/imap-search-args.c | 2 +-
diffs (12 lines):
diff -r c60910419861 -r 7ebf82401e7a src/imap/imap-search-args.c
--- a/src/imap/imap-search-args.c Tue Feb 02 23:49:32 2010 +0200
+++ b/src/imap/imap-search-args.c Fri Feb 05 18:04:16 2010 +0200
@@ -122,7 +122,7 @@ imap_search_get_uidset_arg(struct client
args = mail_search_build_init();
args->args = p_new(args->pool, struct mail_search_arg, 1);
args->args->type = SEARCH_UIDSET;
- p_array_init(&args->args->value.seqset, cmd->pool, 16);
+ p_array_init(&args->args->value.seqset, args->pool, 16);
if (imap_seq_set_parse(uidset, &args->args->value.seqset) < 0) {
*error_r = "Invalid uidset";
return -1;
More information about the dovecot-cvs
mailing list