From: oetiker Date: Fri, 14 Jul 2006 12:06:09 +0000 (+0000) Subject: we were leaking directory handles ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2857433e3b40da7e8305f9d9a9933e86de9a9ec3;p=rrdtool.git we were leaking directory handles ... git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@859 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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));