remove non null check

This commit is contained in:
Mark Andrews 2014-12-09 19:51:32 +11:00
parent 8ee3233acd
commit 2e98ab2c9d

View file

@ -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);
}