OVMS3-idf/components/bt/bluedroid/btc/profile
Hrishikesh Dhayagude 7ffd68cac2 components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
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 12:03:20 +05:30
..
esp components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1) 2018-08-27 12:03:20 +05:30
std components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1) 2018-08-27 12:03:20 +05:30