mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(mdns): fix the exception when remove one of multiple service
This commit is contained in:
parent
f85be9f909
commit
696d733eb0
@ -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