https://jenkins.isc.org/view/BIND/job/bind9-v9_11-clang-static-analyzer/1/clangScanBuildBugs/browse/report-7dddc6.html#EndPath
@each this looks like your code. Care to comment on which solution path to take?