From a306ecf96736779b08d1de7ec994d3d741d5dc61 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Mar 2013 18:28:47 +0300 Subject: fix code style. --- src/resources/resourcemanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources') diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 43092e28d..ef5ccf128 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -1147,4 +1147,6 @@ void ResourceManager::deleteFilesInDirectory(std::string path) if (file != "." && file != "..") remove(name.c_str()); } + if (dir) + closedir(dir); } -- cgit v1.2.3-70-g09d2