Diff between 1d18443e6b5432a493ea300da978f4385802cfe7 and 862e89c5792cca1f617e6522f6b4bf26358a0a2b
Changed Files
| File | Additions | Deletions | Status |
| src/adapter.c | +4 | -1 | modified |
Full Patch
diff --git a/src/adapter.c b/src/adapter.c
index cfd6cbd..2a8e7d5 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3355,7 +3355,10 @@ int btd_cancel_authorization(guint id)
g_queue_remove(auth->adapter->auths, auth);
- service_auth_cancel(auth);
+ if (auth->agent != NULL)
+ agent_cancel(auth->agent);
+
+ g_free(auth);
return 0;
}