mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Reset port_list_count in PortList::freePortMap.
This commit is contained in:
parent
e32a406032
commit
ba5e337db8
1 changed files with 1 additions and 0 deletions
|
|
@ -736,6 +736,7 @@ void PortList::freePortMap() {
|
|||
free(port_map_rev[proto]);
|
||||
port_map_rev[proto] = NULL;
|
||||
}
|
||||
port_list_count[proto] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue