From c32fcdfc1dde289c52bc359b7b6c5f8c30186e58 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 12 May 2014 14:35:56 +0200 Subject: [PATCH] Add missing closedir(). --- src/tincctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tincctl.c b/src/tincctl.c index 81e7a7a..4864fab 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; } -- 2.25.1