mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix crash: manage lifetime of now-dynamic test results
This commit is contained in:
@@ -94,6 +94,7 @@ FingerPrintResultsIPv4::~FingerPrintResultsIPv4() {
|
||||
|
||||
/* Free OS fingerprints of OS scanning was done */
|
||||
for(i=0; i < numFPs; i++) {
|
||||
FPs[i]->erase();
|
||||
delete(FPs[i]);
|
||||
FPs[i] = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user