1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Use more automatic memory management in nmap_dns.cc.

This commit is contained in:
david
2013-01-25 06:26:23 +00:00
parent c11ceacc1f
commit 6784954eee
5 changed files with 75 additions and 132 deletions

View File

@@ -2128,8 +2128,6 @@ static bool target_needs_new_hostgroup(std::vector<Target *> &targets, const Tar
void nmap_free_mem() {
PortList::freePortMap();
cp_free();
free_dns_servers();
free_etchosts();
free_services();
AllProbes::service_scan_free();
traceroute_hop_cache_clear();