summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-07-25 05:12:49 +0200
committerTom Gundersen <teg@jklm.no>2015-07-27 20:34:15 +0200
commit088480faf1228e5f537fdef9c974874567529868 (patch)
treeefd8fab6e7762901eeea990c9ee0ccb7981e680c /src
parent72290734be81e83e6ef9520c07692f68095eb5b2 (diff)
resolved: transaction - don't unref server when creating TCP socket
This was a bug.
Diffstat (limited to 'src')
-rw-r--r--src/resolve/resolved-dns-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c
index 956c2e9973..a8ff233673 100644
--- a/src/resolve/resolved-dns-transaction.c
+++ b/src/resolve/resolved-dns-transaction.c
@@ -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;