summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index df68639d..fa8658e5 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1822,9 +1822,6 @@ void device_simple_pairing_complete(struct btd_device *device, uint8_t status)
if (auth && auth->type == AUTH_TYPE_NOTIFY && auth->agent)
agent_cancel(auth->agent);
-
- g_free(auth);
- device->authr = NULL;
}
void device_bonding_complete(struct btd_device *device, uint8_t status)