--- libc/inet/resolv.c
+++ libc/inet/resolv.c
@@ -922,10 +922,7 @@
 								break;
 							}
 						if (a->atype != type)
-							{
-								free(a->dotted);
-								continue;
-							}
+							continue;
 						a->add_count = h.ancount - j - 1;
 						if ((a->rdlength + sizeof(struct in_addr*)) * a->add_count > a->buflen)
 							{
