if (!($3->class & SYM_FUNCTION))
cf_error("Function expected");
- struct f_bt_test_suite *t = cfg_alloc(sizeof(struct f_bt_test_suite));
+ struct f_bt_test_suite *t = cfg_allocz(sizeof(struct f_bt_test_suite));
t->fn = $3->def;
t->fn_name = $3->name;
t->dsc = $5;
WALK_LIST(r, new->tables)
if (!r->table)
{
- rtable *t = mb_alloc(rt_table_pool, sizeof(struct rtable));
+ rtable *t = mb_allocz(rt_table_pool, sizeof(struct rtable));
DBG("\t%s: created\n", r->name);
rt_setup(rt_table_pool, t, r);
add_tail(&routing_tables, &t->n);