Another stab at covercity fix for tinydnsbackend
Merge pull request #860 from cyclops1982/coverity

Another stab at coverity fix for tinydnsbackend