* src/host.c (host_cleanup): Only compile for DEBUG_MALLOC or TESTING

This commit is contained in:
Tim Rühsen 2020-02-27 19:55:31 +01:00
parent 4588045b28
commit 30139c6745

View File

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