Add missing closedir() call in do_show()

Detected by cppcheck.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:
Thomas Jarosch 2011-10-03 05:23:42 +00:00 committed by Stephen Hemminger
parent 1a6543c56b
commit e9a927dc08
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ static int do_show(int argc, char **argv)
printf(" group %ld", group);
printf("\n");
}
closedir(dir);
return 0;
}