]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-var-expand: Use allocfree pool for parser
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 13 Nov 2025 12:39:21 +0000 (14:39 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 8 Dec 2025 08:49:28 +0000 (08:49 +0000)
For compability reasons, alloconly cannot be used here.

src/lib-var-expand/expansion-program.c

index 5f64b5bda6247d0eb455a9419944399e44309ce6..f0f16de6056131957a1be4977eb5cf52f3404925 100644 (file)
@@ -31,7 +31,7 @@ int var_expand_program_create(const char *str,
        T_BEGIN {
                state.str = NULL;
                state.pool =
-                       pool_alloconly_create(MEMPOOL_GROWING"var expand parser", 32768);
+                       pool_allocfree_create("var expand parser");
                p_array_init(&state.variables, pool, 1);
                state.input = str;
                state.left = strlen(str);