mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 02:07:27 +02:00
fix(mdns): fix the exception when remove one of multiple service
* Original commit: espressif/esp-idf@696d733eb0
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
98069f9ca2
commit
b26c8665f8
@ -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);
|
||||
|
Reference in New Issue
Block a user