diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 18:28:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 21:06:51 +0300 |
commit | a306ecf96736779b08d1de7ec994d3d741d5dc61 (patch) | |
tree | 5a64809354d2c5f672a34fc9578975ab76920b5b /src/resources/resourcemanager.cpp | |
parent | 6053e0797465a15da30b8d645c8ac7c95b596c69 (diff) | |
download | manaverse-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.gz manaverse-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.bz2 manaverse-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.xz manaverse-a306ecf96736779b08d1de7ec994d3d741d5dc61.zip |
fix code style.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |