diff options
author | Socapex <philippe_groarke@yahoo.ca> | 2013-07-27 16:59:22 -0400 |
---|---|---|
committer | Socapex <philippe_groarke@yahoo.ca> | 2014-01-22 12:55:01 -0500 |
commit | 63c96d61aee960639fde3ad938692afd30cd7890 (patch) | |
tree | ea689e3347b6f37d8f9a6c2076ca440ce7c36dc4 | |
parent | cde3e5910e4fed72f4d3e44050ece4e86664641c (diff) | |
download | plus-63c96d61aee960639fde3ad938692afd30cd7890.tar.gz plus-63c96d61aee960639fde3ad938692afd30cd7890.tar.bz2 plus-63c96d61aee960639fde3ad938692afd30cd7890.tar.xz plus-63c96d61aee960639fde3ad938692afd30cd7890.zip |
xcode stuff
-rw-r--r-- | Xcode/ManaPlus.xcodeproj/project.pbxproj | 2 | ||||
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Xcode/ManaPlus.xcodeproj/project.pbxproj b/Xcode/ManaPlus.xcodeproj/project.pbxproj index e0435a8ca..34b6207b4 100644 --- a/Xcode/ManaPlus.xcodeproj/project.pbxproj +++ b/Xcode/ManaPlus.xcodeproj/project.pbxproj @@ -4581,6 +4581,7 @@ OTHER_CPLUSPLUSFLAGS = ( "-DUSE_INTERNALGUICHAN", "-DUSE_OPENGL", + "-DDEBUG_LEAKS", ); OTHER_LDFLAGS = ( "$(SRCROOT)/libs/libidn.a", @@ -4642,6 +4643,7 @@ OTHER_CPLUSPLUSFLAGS = ( "-DUSE_INTERNALGUICHAN", "-DUSE_OPENGL", + "-DDEBUG_LEAKS", ); OTHER_LDFLAGS = ( "$(SRCROOT)/libs/libidn.a", diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 6b87e6cdf..4cc7a4574 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -182,7 +182,7 @@ void ResourceManager::cleanUp(Resource *const res) delete res; #ifdef DEBUG_LEAKS - cleanOrpahns(true); + cleanOrphans(true); #endif } |