2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

2553. [bug] Reference leak on DNSSEC validation errors. [RT #19291]

This commit is contained in:
Mark Andrews
2009-02-15 23:37:29 +00:00
parent 45c3c12ed3
commit d2ef5b3c5c
2 changed files with 5 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.167 2009/01/17 15:12:26 fdupont Exp $ */
/* $Id: validator.c,v 1.168 2009/02/15 23:37:29 marka Exp $ */
#include <config.h>
@@ -2018,6 +2018,7 @@ dlv_validatezonekey(dns_validator_t *val) {
break;
}
if (result != ISC_R_SUCCESS) {
dns_rdataset_disassociate(&trdataset);
validator_log(val, ISC_LOG_DEBUG(3),
"no DNSKEY matching DLV");
continue;
@@ -2359,6 +2360,7 @@ validatezonekey(dns_validator_t *val) {
break;
}
if (result != ISC_R_SUCCESS) {
dns_rdataset_disassociate(&trdataset);
validator_log(val, ISC_LOG_DEBUG(3),
"no DNSKEY matching DS");
continue;