7ffd68cac2
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> |
||
---|---|---|
.. | ||
include | ||
bta_gatt_common.c | ||
bta_gattc_act.c | ||
bta_gattc_api.c | ||
bta_gattc_cache.c | ||
bta_gattc_ci.c | ||
bta_gattc_co.c | ||
bta_gattc_main.c | ||
bta_gattc_utils.c | ||
bta_gatts_act.c | ||
bta_gatts_api.c | ||
bta_gatts_co.c | ||
bta_gatts_main.c | ||
bta_gatts_utils.c |