commit | 42a66d7c484f95615e0364c4aa109ce5d095776a | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Mon Mar 07 08:19:44 2005 +0000 |
committer | hasso <hasso> | Mon Mar 07 08:19:44 2005 +0000 |
tree | 614d2db868d903907a7257a9a1493325eb68cba0 | |
parent | 3452d4752490516c3228da3700c93e2089e30083 [diff] [blame] |
* if_proc.c, ipforward_proc.c, rtread_proc.c: Fix fd leaks. [backport candidate]
diff --git a/zebra/if_proc.c b/zebra/if_proc.c index 199a8e7..504d2f3 100644 --- a/zebra/if_proc.c +++ b/zebra/if_proc.c
@@ -242,6 +242,7 @@ connected_add_ipv6 (ifp, &p.prefix, p.prefixlen, NULL); } + fclose (fp); return 0; } #endif /* HAVE_IPV6 && HAVE_PROC_NET_IF_INET6 */