Add missing closedir().
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 12 May 2014 12:35:56 +0000 (14:35 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 12 May 2014 12:35:56 +0000 (14:35 +0200)
src/tincctl.c

index 81e7a7a2cbdbcbd4f94835769379b22a37556413..4864fab3da5550ae35cd66d17998a248d57886c4 100644 (file)
@@ -2138,6 +2138,8 @@ static int cmd_network(int argc, char *argv[]) {
                free(fname);
        }
 
+       closedir(dir);
+
        return 0;
 }