31 May 2010: Wouter
- Fix AD flag handling, it could in some cases mistakenly copy the AD
flag from upstream servers.
+ - alloc_special_obtain out of memory is not a fatal error any more,
+ enabling unbound to continue longer in out of memory conditions.
28 May 2010: Wouter
- iana portlist updated.
}
/* allocate new */
prealloc(alloc);
- if(!(p = (alloc_special_t*)malloc(sizeof(alloc_special_t))))
- fatal_exit("alloc_special_obtain: out of memory");
+ if(!(p = (alloc_special_t*)malloc(sizeof(alloc_special_t)))) {
+ log_err("alloc_special_obtain: out of memory");
+ return NULL;
+ }
alloc_setup_special(p);
p->id = alloc_get_id(alloc);
return p;