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
1 changed files with 1 additions and 1 deletions

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;