From c707d6a81f4338b0ec470009ab731a217c45d5b1 Mon Sep 17 00:00:00 2001 From: Rupesh Tatiya Date: Mon, 26 Sep 2016 15:29:36 +0530 Subject: [PATCH] Do not set uid_set to NULL in RFCOMM layer The resource is created and freed at BTIF layer. Align this code with L2CAP layer. CRs-Fixed: 1060064 Change-Id: I4dca2b13f5eea4d51117bf7041f7816ba2dcdb1c --- btif/src/btif_sock_rfc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/btif/src/btif_sock_rfc.c b/btif/src/btif_sock_rfc.c index bfb129bd4..d5522b739 100644 --- a/btif/src/btif_sock_rfc.c +++ b/btif/src/btif_sock_rfc.c @@ -132,7 +132,6 @@ bt_status_t btsock_rfc_init(int poll_thread_handle, uid_set_t* set) { void btsock_rfc_cleanup(void) { pth = -1; - uid_set = NULL; pthread_mutex_lock(&slot_lock); for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) { -- 2.11.0