add missing fclose's
Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b80acf58f1
commit
708dd4c986
@ -537,6 +537,7 @@ void FAST_FUNC bb_displayroutes(int noresolve, int netstatfmt)
|
||||
printf("%-6d %-2d %7d %s\n", metric, ref, use, devname);
|
||||
}
|
||||
}
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
#if ENABLE_FEATURE_IPV6
|
||||
@ -625,6 +626,7 @@ static void INET6_displayroutes(void)
|
||||
}
|
||||
} while (1);
|
||||
}
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user