From 90e52037c886038eaca137521d342c9ef4c9115b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 13 Mar 2006 19:27:24 +0000 Subject: Unregister the object path for the agent before closing the connection --- hcid/passkey-agent.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hcid') 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; } -- cgit