diff --git a/osscan.cc b/osscan.cc index a62eb2da7..77aeacd37 100644 --- a/osscan.cc +++ b/osscan.cc @@ -963,6 +963,10 @@ FingerPrint *parse_single_fingerprint(char *fprint_orig) { thisline = nextline; /* Time to handle the next line, if there is one */ lineno++; } while (thisline && *thisline); + + /* Free the temporary fingerprint copy. */ + free(fprint); + return FP; }