From: W.C.A. Wijngaards Date: Mon, 29 Nov 2021 14:26:07 +0000 (+0100) Subject: - Fix #574: Review fixes for it. X-Git-Tag: release-1.14.0rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766c3164a37919e672ca47574d5d406e7a4d4f33;p=thirdparty%2Funbound.git - Fix #574: Review fixes for it. --- 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**));