From: Mark Andrews Date: Tue, 9 Dec 2014 08:51:32 +0000 (+1100) Subject: remove non null check X-Git-Tag: v9.11.0a1~1186 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2e98ab2c9db1e5315cd605332dc42b7edbabe99f;p=thirdparty%2Fbind9.git remove non null check --- diff --git a/lib/dns/master.c b/lib/dns/master.c index da79c90ae4d..2d14c58b8cf 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -2108,8 +2108,7 @@ pushfile(const char *master_file, dns_name_t *origin, dns_loadctx_t *lctx) { return (ISC_R_SUCCESS); cleanup: - if (new != NULL) - incctx_destroy(lctx->mctx, new); + incctx_destroy(lctx->mctx, new); return (result); }