From: Timo Sirainen Date: Mon, 29 Mar 2010 14:22:35 +0000 (+0300) Subject: Dynamic setting allocation was still a bit wrong. X-Git-Tag: 2.0.beta5~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2adf14967d2e62d2a1afbdf0c19081048f86391d;p=thirdparty%2Fdovecot%2Fcore.git Dynamic setting allocation was still a bit wrong. --HG-- branch : HEAD --- diff --git a/src/lib-storage/mail-storage-service.c b/src/lib-storage/mail-storage-service.c index c2188044ae..c2a708cb6d 100644 --- a/src/lib-storage/mail-storage-service.c +++ b/src/lib-storage/mail-storage-service.c @@ -666,7 +666,8 @@ int mail_storage_service_read_settings(struct mail_storage_service_ctx *ctx, if (null_strcmp(set_input.module, ctx->set_cache_module) == 0 && null_strcmp(set_input.service, ctx->set_cache_service) == 0) { set_input.roots = ctx->set_cache_roots; - dyn_parsers_update_parent(pool, &set_input.roots, dyn_parsers); + dyn_parsers_update_parent(ctx->pool, &set_input.roots, + dyn_parsers); if (master_service_settings_cache_read(ctx->set_cache, &set_input, parser_r, error_r) < 0)