diff --git a/service_scan.cc b/service_scan.cc index a3e1c1b32..4445dc3a5 100644 --- a/service_scan.cc +++ b/service_scan.cc @@ -1057,7 +1057,7 @@ void ServiceProbe::addMatch(const char *match, int lineno) { NOT be made static because I have external maintenance tools (servicematch) which use this */ void parse_nmap_service_probe_file(AllProbes *AP, char *filename) { - ServiceProbe *newProbe; + ServiceProbe *newProbe = NULL; char line[2048]; int lineno = 0; FILE *fp;