Index: adb.c
===================================================================
RCS file: /var/snap/bind9/lib/dns/adb.c,v
retrieving revision 1.231
diff -r1.231 adb.c
3474c3474,3477
< 	if (addr != NULL) {
---
> 	if (addr == NULL) {
> 		result = ISC_R_NOMEMORY;
> 	}
> 	else {
