mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 03:44:22 -04:00
Do not try to double-free the nameserver in regression test
svn:r1202
This commit is contained in:
parent
b182ed765e
commit
4d8919ec44
@ -392,7 +392,6 @@ dns_server(void)
|
||||
end:
|
||||
if (port)
|
||||
evdns_close_server_port(port);
|
||||
evdns_shutdown(0); /* remove ourself as nameserver. */
|
||||
if (sock >= 0)
|
||||
EVUTIL_CLOSESOCKET(sock);
|
||||
if (base)
|
||||
|
Loading…
x
Reference in New Issue
Block a user