OVMS3-idf/components/bt/bluedroid
Hrishikesh Dhayagude 32fd3a3215 components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.0)
Multiple modules register their callback BTA_GATTS_AppRegister().

If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.

So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-27 11:57:14 +05:30
..
api Component/bt: add scan duplicate for ble mesh in idf3.0 2018-07-12 07:35:13 +00:00
bta components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.0) 2018-08-27 11:57:14 +05:30
btc components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.0) 2018-08-27 11:57:14 +05:30
btcore Merge branch 'bugfix/btdm_string_to_bdaddr_error_when_opening_nano' into 'master' 2018-03-15 14:15:31 +08:00
btif set ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_key_req (function incorrectly uses ble_init_key member). 2018-01-08 10:37:18 +11:00
device Component/bt: send data length request by host after read feature complete 2017-12-12 20:02:36 +08:00
external/sbc component/bt: add conditional compilation direvatives to control the source code building of SBC codec 2017-03-17 15:57:30 +08:00
hci Component/bt: send data length request by host after read feature complete 2017-12-12 20:02:36 +08:00
include Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master' 2018-01-15 14:47:28 +08:00
main component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
osi component/bt: Fix xQueueGenericSend assertion in release/v3.0 2018-03-30 14:53:27 +08:00
stack Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server_v3.0' into 'release/v3.0' 2018-08-27 10:20:13 +08:00
utils component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller) 2017-04-12 16:42:14 +08:00