1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 08:41:34 +00:00

Close the -iL input file after reading.

This commit is contained in:
david
2009-09-28 23:15:55 +00:00
parent 2e3b86618b
commit adcbd54e19

View File

@@ -1949,6 +1949,9 @@ int nmap_main(int argc, char *argv[]) {
num_host_exp_groups = 0;
free(host_exp_group);
if (inputfd != NULL)
fclose(inputfd);
printdatafilepaths();
printfinaloutput();