Code

we were leaking directory handles ...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 14 Jul 2006 12:06:09 +0000 (12:06 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 14 Jul 2006 12:06:09 +0000 (12:06 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@859 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_tool.c

index b87c39b584b0880f46f772eb8a6d69cbca423fb9..f7ce3349a24d047fb1ea427797c6e9c138393964 100644 (file)
@@ -545,6 +545,7 @@ int HandleInputLine(int argc, char **argv, FILE* out)
                    }
                 }
              }
+            closedir(curdir);
           }
           else{
              printf("ERROR: %s\n",rrd_strerror(errno));