mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
Do a dns_c_iplist_attach first when returning the iplist from also-notify.
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* 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>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -1670,7 +1670,7 @@ dns_c_zone_getalsonotify(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (p != NULL) {
|
if (p != NULL) {
|
||||||
*retval = p;
|
dns_c_iplist_attach(p, retval);
|
||||||
res = ISC_R_SUCCESS;
|
res = ISC_R_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
res = ISC_R_NOTFOUND;
|
res = ISC_R_NOTFOUND;
|
||||||
|
Reference in New Issue
Block a user