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

Do a dns_c_iplist_attach first when returning the iplist from also-notify.

This commit is contained in:
James Brister
2000-07-25 20:16:00 +00:00
parent 8cfe1a4846
commit 07919f7bb8

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: confzone.c,v 1.49 2000/07/24 22:59:38 explorer Exp $ */
/* $Id: confzone.c,v 1.50 2000/07/25 20:16:00 brister Exp $ */
#include <config.h>
@@ -1670,7 +1670,7 @@ dns_c_zone_getalsonotify(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
}
if (p != NULL) {
*retval = p;
dns_c_iplist_attach(p, retval);
res = ISC_R_SUCCESS;
} else {
res = ISC_R_NOTFOUND;