diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-08 19:26:15 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-08 19:26:15 +0000 |
commit | aec524d1be94e2745ef555214f21c1e9e2cf7684 (patch) | |
tree | 72b301f6ac049a2b99c35c490f1acaab846aaa36 /hcid/dbus-service.c | |
parent | 0ac59f6d79045bb710b386161121a029eca243c2 (diff) |
Unregister all sdp records when the hcid daemon exits
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r-- | hcid/dbus-service.c | 3 |
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); } |