Diff between cab79780434567cadaad19acb89b85991dcbca1d and 0b1a5d109bf04bbf02e7d2a99600462d03c8e244

Changed Files

File Additions Deletions Status
src/shared/att.c +0 -6 modified

Full Patch

diff --git a/src/shared/att.c b/src/shared/att.c
index 956fa8c..08bf2b2 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -860,17 +860,12 @@ void bt_att_unref(struct bt_att *att)
 		destroy_att_send_op(att->pending_ind);
 
 	io_destroy(att->io);
-	att->io = NULL;
 
 	queue_destroy(att->req_queue, NULL);
 	queue_destroy(att->ind_queue, NULL);
 	queue_destroy(att->write_queue, NULL);
 	queue_destroy(att->notify_list, NULL);
 	queue_destroy(att->disconn_list, NULL);
-	att->req_queue = NULL;
-	att->ind_queue = NULL;
-	att->write_queue = NULL;
-	att->notify_list = NULL;
 
 	if (att->timeout_destroy)
 		att->timeout_destroy(att->timeout_data);
@@ -879,7 +874,6 @@ void bt_att_unref(struct bt_att *att)
 		att->debug_destroy(att->debug_data);
 
 	free(att->buf);
-	att->buf = NULL;
 
 	free(att);
 }