mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix crash: manage lifetime of now-dynamic test results
This commit is contained in:
parent
1d8bf1deff
commit
8b3465231e
4 changed files with 36 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue