daemon: fix memory leaks

22 jobs for <span class="ref-name">tls-push-assert</span> in 46 minutes and 42 seconds (queued for 8 seconds)
Status Job ID Name Coverage
  Build
passed #171415
docker linux amd64
build:clang:linux:amd64

00:00:48

passed #171414
docker linux amd64
build:linux:amd64

00:00:55

passed #171416
docker linux amd64 allowed to fail
srpm

00:00:36

 
  Test
passed #171423
docker linux amd64
deckard:linux:amd64

00:01:33

passed #171428
privileged
distro:epel-7

00:01:52

passed #171427
privileged
distro:fedora-29

00:02:29

passed #171422
docker
doc

00:00:58

passed #171421
docker linux amd64
installcheck:linux:amd64

00:01:17

passed #171424
docker linux amd64
installcheck:valgrind:linux:amd64

00:02:00

passed #171418
docker
lint:c

00:02:45

failed #171419
docker allowed to fail
lint:clang-scan-build

00:01:23

passed #171417
docker
lint:lua

00:00:49

passed #171426
docker linux amd64
respdiff:iter:udp:linux:amd64

00:03:12

passed #171420
docker linux amd64
test:linux:amd64

00:01:15

passed #171425
docker linux amd64
test:linux:amd64:valgrind

00:01:24

 
  Respdiff
passed #171429
respdiff
respdiff:fwd-tls6-kresd.udp6

00:23:59

passed #171430
respdiff
respdiff:fwd-udp6-kresd.udp6

00:27:59

failed #171434
respdiff
respdiff:fwd-udp6-unbound.tcp6

00:30:30

passed #171435
respdiff
respdiff:fwd-udp6-unbound.tls6

00:42:31

passed #171433
respdiff
respdiff:fwd-udp6-unbound.udp6

00:32:30

failed #171432
respdiff
respdiff:iter.tls6

00:17:58

passed #171431
respdiff
respdiff:iter.udp6

00:37:30

 
Name Stage Failure
failed
respdiff:iter.tls6 Respdiff
~/builds/ea0ef08e/0/knot/knot-resolver
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
./j*: found 9 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=171432 responseStatus=201 Created token=j_SdxR1S
ERROR: Job failed: exit status 1
failed
respdiff:fwd-udp6-unbound.tcp6 Respdiff
~/builds/ea0ef08e/5/knot/knot-resolver
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
./j*: found 9 matching files
./*.png: found 3 matching files
Uploading artifacts to coordinator... ok id=171434 responseStatus=201 Created token=3i5W3EE2
ERROR: Job failed: exit status 1
failed
lint:clang-scan-build Test
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
CCLD daemon/kresd
scan-build: 32 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-09-04-073316-14-1' to examine bug reports.
Uploading artifacts...
scan-results: found 37 matching files
Uploading artifacts to coordinator... ok id=171419 responseStatus=201 Created token=hZN8DVC6
ERROR: Job failed: exit code 1