Fix memory leak in DNS TXT lookups.