mirror of
https://github.com/vale981/yabar
synced 2025-03-05 09:31:39 -05:00
close file after reading it
This commit is contained in:
parent
9d34ec7fb8
commit
e779016408
1 changed files with 1 additions and 0 deletions
|
@ -239,6 +239,7 @@ void ya_int_bandwidth(ya_block_t * blk) {
|
|||
}
|
||||
}
|
||||
}
|
||||
fclose(routefile);
|
||||
} else {
|
||||
strncpy(ifname, blk->internal->option[0], 16);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue