summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-05-15 17:31:14 +0200
committerLennart Poettering <lennart@poettering.net>2014-05-15 17:31:14 +0200
commitf2e2415d694a21f43f79038cdc644c3dc029d651 (patch)
tree7acc05899ceb1f824146130ab046244884427469
parent9e7e9a6524a36be94d4c570eed324f46e5270240 (diff)
resolve: fix copy/paste error
-rw-r--r--src/libsystemd/sd-resolve/sd-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/sd-resolve/sd-resolve.c
index 09ab6f0cdb..10f8ed29a2 100644
--- a/src/libsystemd/sd-resolve/sd-resolve.c
+++ b/src/libsystemd/sd-resolve/sd-resolve.c
@@ -776,7 +776,7 @@ static int complete_query(sd_resolve *resolve, sd_resolve_query *q) {
if (q->floating) {
resolve_query_disconnect(q);
- sd_bus_slot_unref(q);
+ sd_resolve_query_unref(q);
}
return r;