Commit e9a927dc authored by Thomas Jarosch's avatar Thomas Jarosch Committed by Stephen Hemminger

Add missing closedir() call in do_show()

Detected by cppcheck.
Signed-off-by: default avatarThomas Jarosch <thomas.jarosch@intra2net.com>
parent 1a6543c5
......@@ -298,6 +298,7 @@ static int do_show(int argc, char **argv)
printf(" group %ld", group);
printf("\n");
}
closedir(dir);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment