From ba5e337db87c5e9097c791b4fcfefe1c1e50fcec Mon Sep 17 00:00:00 2001 From: david Date: Fri, 26 Feb 2010 21:25:41 +0000 Subject: [PATCH] Reset port_list_count in PortList::freePortMap. --- portlist.cc | 1 + 1 file changed, 1 insertion(+) 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; } }