mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/mdns_remove_service' into 'master'
fix(mdns): fix the exception when remove one of multiple service See merge request idf/esp-idf!2497
This commit is contained in:
commit
5ed2d79572
@ -3703,7 +3703,7 @@ static void _mdns_execute_action(mdns_action_t * action)
|
||||
a = a->next;
|
||||
}
|
||||
if (a->next == action->data.srv_del.service) {
|
||||
mdns_srv_item_t * b = a;
|
||||
mdns_srv_item_t * b = a->next;
|
||||
a->next = a->next->next;
|
||||
_mdns_send_bye(&b, 1, false);
|
||||
_mdns_free_service(b->service);
|
||||
|
Loading…
x
Reference in New Issue
Block a user