diff --git a/lib/dns/qpzone.c b/lib/dns/qpzone.c index 53503c7668..43f28a2b3c 100644 --- a/lib/dns/qpzone.c +++ b/lib/dns/qpzone.c @@ -970,10 +970,7 @@ qpznode_release(qpzonedb_t *qpdb, qpznode_t *node, uint32_t least_serial, } /* Handle easy and typical case first. */ - if (!node->dirty && - (node->data != NULL || node == qpdb->origin || - node == qpdb->nsec_origin || node == qpdb->nsec3_origin)) - { + if (!node->dirty && node->data != NULL) { goto unref; }