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 81e7a7a..4864fab 100644 (file)
@@ -2138,6 +2138,8 @@ static int cmd_network(int argc, char *argv[]) {
                free(fname);
        }
 
+       closedir(dir);
+
        return 0;
 }