kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/spp_memory_leak' into 'master'
Fix spp memory leak Closes IDFGH-5508 See merge request espressif/esp-idf!14319pull/7497/head
commit
7df2a22faa
|
@ -546,6 +546,11 @@ static void btc_spp_uninit(void)
|
|||
osi_mutex_unlock(&spp_local_param.spp_slot_mutex);
|
||||
} while(0);
|
||||
|
||||
if (spp_local_param.tx_event_group) {
|
||||
vEventGroupDelete(spp_local_param.tx_event_group);
|
||||
spp_local_param.tx_event_group = NULL;
|
||||
}
|
||||
|
||||
if (ret != ESP_SPP_SUCCESS) {
|
||||
esp_spp_cb_param_t param;
|
||||
param.uninit.status = ret;
|
||||
|
|
Ładowanie…
Reference in New Issue