[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4E89D37E.5020907@intra2net.com>
Date: Mon, 03 Oct 2011 17:23:42 +0200
From: Thomas Jarosch <thomas.jarosch@...ra2net.com>
To: netdev@...r.kernel.org
Subject: [iproute2 PATCH 06/11] Add missing closedir() call in do_show()
Detected by cppcheck.
Signed-off-by: Thomas Jarosch <thomas.jarosch@...ra2net.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists