]> granicus.if.org Git - libevent/commitdiff
Do not try to double-free the nameserver in regression test
authorNick Mathewson <nickm@torproject.org>
Sun, 19 Apr 2009 01:58:26 +0000 (01:58 +0000)
committerNick Mathewson <nickm@torproject.org>
Sun, 19 Apr 2009 01:58:26 +0000 (01:58 +0000)
svn:r1202

test/regress_dns.c

index 09994b90a20c2a49fe18a89b86c430ba54440b0e..09d9bcd6013e3753b6c6f118038cb2844fbe8a94 100644 (file)
@@ -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)