Fix leak
Merge pull request #481 from andrerod/dns

Fix leak