From 708dd4c98662670f3104b71c2fc5eef82bb726a8 Mon Sep 17 00:00:00 2001 From: Alexey Fomenko Date: Wed, 2 Mar 2011 04:01:24 +0100 Subject: [PATCH] add missing fclose's Signed-off-by: Alexey Fomenko Signed-off-by: Denys Vlasenko --- networking/route.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/networking/route.c b/networking/route.c index b7d08dd63..ac4fbb472 100644 --- a/networking/route.c +++ b/networking/route.c @@ -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 -- 2.25.1