]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Do a dns_c_iplist_attach first when returning the iplist from also-notify.
authorJames Brister <source@isc.org>
Tue, 25 Jul 2000 20:16:00 +0000 (20:16 +0000)
committerJames Brister <source@isc.org>
Tue, 25 Jul 2000 20:16:00 +0000 (20:16 +0000)
lib/dns/config/confzone.c

index 3f61c0de116fd4aefa7bdfafb11d3599297f4e4e..e1796128f1afba7f586d6db72e541648f2076259 100644 (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;