diff --git a/portlist.cc b/portlist.cc index b6ef8b729..5cd7fa56e 100644 --- a/portlist.cc +++ b/portlist.cc @@ -736,6 +736,7 @@ void PortList::freePortMap() { free(port_map_rev[proto]); port_map_rev[proto] = NULL; } + port_list_count[proto] = 0; } }