diff --git a/src/tincctl.c b/src/tincctl.c index 81e7a7a2..4864fab3 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -2138,6 +2138,8 @@ static int cmd_network(int argc, char *argv[]) { free(fname); } + closedir(dir); + return 0; }