summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-security.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index 47429c08..f6897079 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -867,6 +867,7 @@ static DBusHandlerResult auth_agent_send_cancel(DBusMessage *msg,
auth_agent_call_cancel(req);
auth_agent_req_cancel(req);
+ agent->pending_requests = g_slist_remove(agent->pending_requests, req);
auth_agent_req_free(req);
return send_message_and_unref(agent->conn, message);