fix(mdns): set host list NULL on destroy

This commit is contained in:
Scott Shawcroft
2023-09-20 14:19:46 -07:00
parent 457f8335bb
commit ea54eef0d0

View File

@ -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)