aboutsummaryrefslogtreecommitdiff
path: root/networking/route.c
diff options
context:
space:
mode:
authorAlexey Fomenko <ext-alexey.fomenko@nokia.com>2011-03-02 04:01:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-02 04:01:24 +0100
commit708dd4c98662670f3104b71c2fc5eef82bb726a8 (patch)
treee12d020417638f0b7e5f7363092eb5a28ef9321b /networking/route.c
parentb80acf58f16339078da5cbee88a322f2450aa2ad (diff)
downloadbusybox-w32-708dd4c98662670f3104b71c2fc5eef82bb726a8.tar.gz
busybox-w32-708dd4c98662670f3104b71c2fc5eef82bb726a8.tar.bz2
busybox-w32-708dd4c98662670f3104b71c2fc5eef82bb726a8.zip
add missing fclose's
Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/route.c')
-rw-r--r--networking/route.c2
1 files changed, 2 insertions, 0 deletions
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)
537 printf("%-6d %-2d %7d %s\n", metric, ref, use, devname); 537 printf("%-6d %-2d %7d %s\n", metric, ref, use, devname);
538 } 538 }
539 } 539 }
540 fclose(fp);
540} 541}
541 542
542#if ENABLE_FEATURE_IPV6 543#if ENABLE_FEATURE_IPV6
@@ -625,6 +626,7 @@ static void INET6_displayroutes(void)
625 } 626 }
626 } while (1); 627 } while (1);
627 } 628 }
629 fclose(fp);
628} 630}
629 631
630#endif 632#endif