daemon_create_workers().
git-svn-id: file:///svn/unbound/trunk@3822
be551aaa-1e26-0410-a405-
d3ace91eadb9
}
daemon->workers = (struct worker**)calloc((size_t)daemon->num,
sizeof(struct worker*));
+ if(!daemon->workers)
+ fatal_exit("out of memory during daemon init");
if(daemon->cfg->dnstap) {
#ifdef USE_DNSTAP
daemon->dtenv = dt_create(daemon->cfg->dnstap_socket_path,
+22 July 2016: Wouter
+ - Fix #801: missing error condition handling in
+ daemon_create_workers().
+
20 July 2016: Wouter
- Fix typo in unbound.conf.