mirror of
https://github.com/nmap/nmap.git
synced 2026-06-20 23:53:35 +00:00
Close the -iL input file after reading.
This commit is contained in:
parent
2e3b86618b
commit
adcbd54e19
1 changed files with 3 additions and 0 deletions
3
nmap.cc
3
nmap.cc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue