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:
parent
72290734be
commit
088480faf1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user