Skip to content

Commit ea54eef

Browse files
committed
fix(mdns): set host list NULL on destroy
1 parent 457f833 commit ea54eef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/mdns/mdns.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2884,6 +2884,7 @@ static void free_delegated_hostnames(void)
28842884
host = host->next;
28852885
free(item);
28862886
}
2887+
_mdns_host_list = NULL;
28872888
}
28882889

28892890
static bool _mdns_delegate_hostname_remove(const char *hostname)

0 commit comments

Comments
 (0)