summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 18:28:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 21:06:51 +0300
commita306ecf96736779b08d1de7ec994d3d741d5dc61 (patch)
tree5a64809354d2c5f672a34fc9578975ab76920b5b /src/resources/resourcemanager.cpp
parent6053e0797465a15da30b8d645c8ac7c95b596c69 (diff)
downloadplus-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.gz
plus-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.bz2
plus-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.xz
plus-a306ecf96736779b08d1de7ec994d3d741d5dc61.zip
fix code style.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp2
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);
}