diff options
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r-- | conf/confbase.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index f0343a93..67dcac6c 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -148,7 +148,7 @@ conf: definition ; definition: DEFINE symbol '=' term ';' { - struct f_val *val = cfg_alloc(sizeof(struct f_val)); + struct f_val *val = cfg_allocz(sizeof(struct f_val)); if (f_eval(f_linearize($4), cfg_mem, val) > F_RETURN) cf_error("Runtime error"); cf_define_symbol($2, SYM_CONSTANT | val->type, val, val); } |