summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 09102d2e..1cdf5a65 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -240,10 +240,8 @@ ResourceManager::getInstance()
void
ResourceManager::deleteInstance()
{
- if (instance != NULL) {
- delete instance;
- instance = NULL;
- }
+ delete instance;
+ instance = NULL;
}
void*