From 766c3164a37919e672ca47574d5d406e7a4d4f33 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Mon, 29 Nov 2021 15:26:07 +0100 Subject: [PATCH] - Fix #574: Review fixes for it. --- smallapp/unbound-checkconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index 7dc9994f9..768d5550b 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -337,7 +337,7 @@ interfacechecks(struct config_file* cfg) socklen_t alen; int i, j, i2, j2; char*** resif = NULL; - int* num_resif = 0; + int* num_resif = NULL; if(cfg->num_ifs != 0) { resif = (char***)calloc(cfg->num_ifs, sizeof(char**));