Cleanup use of *alloc() in daemon.c

3 jobs for master in 25 minutes and 9 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed build-gnutls-mit #2670

00:24:47

passed build-no-threads-no-slapd #2668

00:02:31

passed build-openssl-heimdal #2669

00:25:09