summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd')
-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;