1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

resolved: transaction - don't unref server when creating TCP socket

This was a bug.
This commit is contained in:
Tom Gundersen 2015-07-25 05:12:49 +02:00
parent 72290734be
commit 088480faf1

View File

@ -243,7 +243,7 @@ static int on_stream_complete(DnsStream *s, int error) {
}
static int dns_transaction_open_tcp(DnsTransaction *t) {
_cleanup_(dns_server_unrefp) DnsServer *server = NULL;
DnsServer *server = NULL;
_cleanup_close_ int fd = -1;
int r;