diff options
Diffstat (limited to 'conf/conf.c')
-rw-r--r-- | conf/conf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/conf.c b/conf/conf.c index b21d5213..6f64b541 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -573,6 +573,7 @@ cfg_copy_list(list *dest, list *src, unsigned node_size) { dn = cfg_alloc(node_size); memcpy(dn, sn, node_size); + memset(dn, 0, sizeof(node)); add_tail(dest, dn); } } |