From: Mark Andrews Date: Wed, 24 Jun 2020 03:43:50 +0000 (+1000) Subject: Remove now redundant check for state != NULL X-Git-Tag: v9.17.3~38^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee135d894620d9b2d51681b11f770c6133dcc236;p=thirdparty%2Fbind9.git Remove now redundant check for state != NULL --- diff --git a/lib/dns/update.c b/lib/dns/update.c index 49f177002b5..2de3b5bf466 100644 --- a/lib/dns/update.c +++ b/lib/dns/update.c @@ -2183,7 +2183,7 @@ failure: dst_key_free(&state->zone_keys[i]); } - if (state != &mystate && state != NULL) { + if (state != &mystate) { *statep = NULL; state->magic = 0; isc_mem_put(diff->mctx, state, sizeof(*state));