From 34a17212fd05a6ef5057395554ade79068890872 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@859 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c index b87c39b5..f7ce3349 100644 --- a/program/src/rrd_tool.c +++ b/program/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