* [iproute2 PATCH 06/11] Add missing closedir() call in do_show()
@ 2011-10-03 15:23 Thomas Jarosch
0 siblings, 0 replies; only message in thread
From: Thomas Jarosch @ 2011-10-03 15:23 UTC (permalink / raw)
To: netdev
Detected by cppcheck.
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
---
ip/iptuntap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ip/iptuntap.c b/ip/iptuntap.c
index 588926c..29f2777 100644
--- a/ip/iptuntap.c
+++ b/ip/iptuntap.c
@@ -298,6 +298,7 @@ static int do_show(int argc, char **argv)
printf(" group %ld", group);
printf("\n");
}
+ closedir(dir);
return 0;
}
--
1.7.4.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-03 15:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03 15:23 [iproute2 PATCH 06/11] Add missing closedir() call in do_show() Thomas Jarosch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).