diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-13 19:27:24 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-13 19:27:24 +0000 |
commit | 90e52037c886038eaca137521d342c9ef4c9115b (patch) | |
tree | aed396982d2cae812325ff91288de222801e0c13 /hcid/passkey-agent.c | |
parent | 054fe368560b0cdd9ca60e9e8acfb25e925b7b78 (diff) |
Unregister the object path for the agent before closing the connection
Diffstat (limited to 'hcid/passkey-agent.c')
-rw-r--r-- | hcid/passkey-agent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/passkey-agent.c b/hcid/passkey-agent.c index 267b08b3..2b2bb5dc 100644 --- a/hcid/passkey-agent.c +++ b/hcid/passkey-agent.c @@ -194,6 +194,8 @@ static int register_agent(DBusConnection *conn, const char *agent_path, dbus_connection_flush(conn); + dbus_connection_unregister_object_path(conn, agent_path); + return 0; } |