mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
@@ -50,7 +50,7 @@
|
||||
* USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sdlz.c,v 1.7 2005/11/30 03:33:49 marka Exp $ */
|
||||
/* $Id: sdlz.c,v 1.8 2006/12/07 04:46:27 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -894,7 +894,8 @@ find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
|
||||
|
||||
xresult = dns_name_copy(xname, foundname, NULL);
|
||||
if (xresult != ISC_R_SUCCESS) {
|
||||
destroynode(node);
|
||||
if (node != NULL)
|
||||
destroynode(node);
|
||||
if (dns_rdataset_isassociated(rdataset))
|
||||
dns_rdataset_disassociate(rdataset);
|
||||
return (DNS_R_BADDB);
|
||||
|
Reference in New Issue
Block a user