summaryrefslogtreecommitdiff
path: root/src/base/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/output.cc')
-rw-r--r--src/base/output.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/output.cc b/src/base/output.cc
index 912ec20e9..da9a551fa 100644
--- a/src/base/output.cc
+++ b/src/base/output.cc
@@ -255,6 +255,8 @@ OutputDirectory::remove(const string &name, bool recursive)
de = readdir(subdir);
}
+
+ closedir(subdir);
}
// try to force recognition that we deleted the files in the directory