mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 04:17:35 +00:00
* process.c (check_for_dns): Free the result data.
This commit is contained in:
parent
e9eb6107db
commit
0677d94e2d
1 changed files with 3 additions and 1 deletions
|
|
@ -4563,12 +4563,14 @@ check_for_dns (Lisp_Object proc)
|
|||
}
|
||||
|
||||
ip_addresses = Fnreverse (ip_addresses);
|
||||
freeaddrinfo (p->dns_request->ar_result);
|
||||
/* Free the calling array, too? FIXME */
|
||||
connect_network_socket (proc, ip_addresses);
|
||||
return 1;
|
||||
}
|
||||
|
||||
pset_status (p, Qfailed);
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
#endif /* HAVE_GETADDRINFO_A */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue