diff --git a/lib/isccfg/cfgmgr.c b/lib/isccfg/cfgmgr.c index 5369f50538..17071a4264 100644 --- a/lib/isccfg/cfgmgr.c +++ b/lib/isccfg/cfgmgr.c @@ -262,7 +262,9 @@ pushclause(const char *name, unsigned long id) { openedclause_t *clause = isc_mem_get(mctx, sizeof(*clause)); *clause = (openedclause_t){ - .name = isc_mem_allocate(mctx, strlen(name) + 1), .id = id + .name = isc_mem_allocate(mctx, strlen(name) + 1), + .id = id, + .link = ISC_LINK_INITIALIZER, }; strcpy(clause->name, name); ENSURE(clause->id > 0);