mirror of
https://github.com/nmap/nmap.git
synced 2025-12-22 07:29:01 +00:00
Reset port_list_count in PortList::freePortMap.
This commit is contained in:
@@ -736,6 +736,7 @@ void PortList::freePortMap() {
|
|||||||
free(port_map_rev[proto]);
|
free(port_map_rev[proto]);
|
||||||
port_map_rev[proto] = NULL;
|
port_map_rev[proto] = NULL;
|
||||||
}
|
}
|
||||||
|
port_list_count[proto] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user