]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Dynamic setting allocation was still a bit wrong.
authorTimo Sirainen <tss@iki.fi>
Mon, 29 Mar 2010 14:22:35 +0000 (17:22 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 29 Mar 2010 14:22:35 +0000 (17:22 +0300)
--HG--
branch : HEAD

src/lib-storage/mail-storage-service.c

index c2188044ae3cceaee51c02e89e801d1e1cfcce9a..c2a708cb6ddff7de79c405e12d0c356c1e66d1ff 100644 (file)
@@ -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)