mirror of
https://github.com/nmap/nmap.git
synced 2025-12-22 23:49:03 +00:00
Fix code style in PortList::freePortMap.
This commit is contained in:
@@ -726,6 +726,7 @@ int PortList::forgetPort(u16 portno, u8 protocol) {
|
||||
* before closing nmap. */
|
||||
void PortList::freePortMap() {
|
||||
int proto;
|
||||
|
||||
for (proto=0; proto < PORTLIST_PROTO_MAX; proto++) {
|
||||
if (port_map[proto]) {
|
||||
free(port_map[proto]);
|
||||
|
||||
Reference in New Issue
Block a user