From 62da04fd76d55e57be67aaec1abb10a8128af057 Mon Sep 17 00:00:00 2001 From: Colin Vidal Date: Mon, 16 Dec 2024 10:50:22 +0100 Subject: [PATCH] fixup! Introduction of cfgmgr --- lib/isccfg/cfgmgr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);