From 2857433e3b40da7e8305f9d9a9933e86de9a9ec3 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 14 Jul 2006 12:06:09 +0000 Subject: [PATCH] we were leaking directory handles ... git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@859 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rrd_tool.c b/src/rrd_tool.c index b87c39b..f7ce334 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -545,6 +545,7 @@ int HandleInputLine(int argc, char **argv, FILE* out) } } } + closedir(curdir); } else{ printf("ERROR: %s\n",rrd_strerror(errno)); -- 2.30.2