close file after reading it

This commit is contained in:
losynix 2016-09-08 11:39:43 +02:00
parent 9d34ec7fb8
commit e779016408

View file

@ -239,6 +239,7 @@ void ya_int_bandwidth(ya_block_t * blk) {
}
}
}
fclose(routefile);
} else {
strncpy(ifname, blk->internal->option[0], 16);
}