summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 47449acb..158829ac 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -812,6 +812,9 @@ void release_service_agents(DBusConnection *conn)
if (!agent)
continue;
+ if (agent->records)
+ unregister_agent_records(agent->records);
+
send_release(conn, agent->id, path);
service_agent_free(agent);
}