From 55a1afff4320314cd4b40a6f0b36d3a0f57b9c68 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Wed, 2 Feb 2011 20:00:12 +0000 Subject: * Fixed non-windows 'findfile' utils function missing a 'closedir' call (bugreport:4739, since r1629). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14692 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2