mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-25 08:17:28 +02:00
fix(mdns): set host list NULL on destroy
This commit is contained in:
@ -2884,6 +2884,7 @@ static void free_delegated_hostnames(void)
|
|||||||
host = host->next;
|
host = host->next;
|
||||||
free(item);
|
free(item);
|
||||||
}
|
}
|
||||||
|
_mdns_host_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool _mdns_delegate_hostname_remove(const char *hostname)
|
static bool _mdns_delegate_hostname_remove(const char *hostname)
|
||||||
|
Reference in New Issue
Block a user