From ea54eef0d0fe59bd53a49c916f87065518b957eb Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 20 Sep 2023 14:19:46 -0700 Subject: [PATCH] fix(mdns): set host list NULL on destroy --- components/mdns/mdns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/mdns/mdns.c b/components/mdns/mdns.c index 1149ff7cf4..8b67e20f80 100644 --- a/components/mdns/mdns.c +++ b/components/mdns/mdns.c @@ -2884,6 +2884,7 @@ static void free_delegated_hostnames(void) host = host->next; free(item); } + _mdns_host_list = NULL; } static bool _mdns_delegate_hostname_remove(const char *hostname)