diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter_test.c | 2 | ||||
-rw-r--r-- | filter/tree_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter_test.c b/filter/filter_test.c index 82efae0b..be7fd521 100644 --- a/filter/filter_test.c +++ b/filter/filter_test.c @@ -43,7 +43,7 @@ run_function(const void *parsed_fn_def) /* XXX: const -> non-const */ struct f_inst *f = (struct f_inst *) parsed_fn_def; - linpool *tmp = lp_new(&root_pool, 4096); + linpool *tmp = lp_new_default(&root_pool); struct f_val res = f_eval(f, tmp); rfree(tmp); diff --git a/filter/tree_test.c b/filter/tree_test.c index e224a559..5b22a9fe 100644 --- a/filter/tree_test.c +++ b/filter/tree_test.c @@ -20,7 +20,7 @@ start_conf_env(void) bt_bird_init(); pool *p = rp_new(&root_pool, "helper_pool"); - linpool *l = lp_new(p, 4080); + linpool *l = lp_new_default(p); cfg_mem = l; } |