From ca5254f990b6afa14496e735d0fa293a3693aa12 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 23 Sep 2010 06:00:40 +0000 Subject: [PATCH] Fix a memory leak in OS detection. When detection ran for more than one round, fingerprint test results were being leaked in between rounds. --- osscan2.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osscan2.cc b/osscan2.cc index 0ab8be9e6..2002f8d6a 100644 --- a/osscan2.cc +++ b/osscan2.cc @@ -708,8 +708,11 @@ void HostOsScanStats::initScanStats() { } FP = NULL; - for (i=0; i