summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index 12123784f..945e3e337 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -183,6 +183,8 @@ void findfile(const char *p, const char *pat, void (func)(const char*))
findfile(tmppath, pat, func);
}
}//end while
+
+ closedir(dir);
}
#endif