mirror of
https://github.com/mirror/wget.git
synced 2025-01-31 14:50:23 +08:00
* src/host.c (host_cleanup): Only compile for DEBUG_MALLOC or TESTING
This commit is contained in:
parent
4588045b28
commit
30139c6745
@ -1043,6 +1043,7 @@ sufmatch (const char **list, const char *what)
|
||||
return false;
|
||||
}
|
||||
|
||||
#if defined DEBUG_MALLOC || defined TESTING
|
||||
void
|
||||
host_cleanup (void)
|
||||
{
|
||||
@ -1063,6 +1064,7 @@ host_cleanup (void)
|
||||
host_name_addresses_map = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
bool
|
||||
is_valid_ip_address (const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user