summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-11-08 19:26:15 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-11-08 19:26:15 +0000
commitaec524d1be94e2745ef555214f21c1e9e2cf7684 (patch)
tree72b301f6ac049a2b99c35c490f1acaab846aaa36 /hcid
parent0ac59f6d79045bb710b386161121a029eca243c2 (diff)
Unregister all sdp records when the hcid daemon exits
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);
}