evdns: fix lock/unlock mismatch in evdns_close_server_port()

Closes: #809 (cherry-picked)
This commit is contained in:
zhuizhuhaomeng 2019-05-06 11:37:02 +08:00 committed by Azat Khuzhin
parent c6becb26ca
commit 8701d0d3d2
No known key found for this signature in database
GPG Key ID: B86086848EF8686D

View File

@ -1762,6 +1762,7 @@ evdns_close_server_port(struct evdns_server_port *port)
server_port_free(port);
} else {
port->closing = 1;
EVDNS_UNLOCK(port);
}
}