Memory leak: Moved the class member checking to the "--all"

This commit is contained in:
Daniel Marjamäki 2008-11-28 17:16:28 +00:00
parent 1f189f655d
commit 95c7e1a7d3
2 changed files with 5 additions and 4 deletions

View File

@ -1122,8 +1122,9 @@ void CheckMemoryLeakClass::CheckMemoryLeak()
// Check for memory leaks inside functions..
CheckMemoryLeak_InFunction();
// Check that all class members are deallocated..
CheckMemoryLeak_ClassMembers();
// Check that all class members are deallocated..
if ( _settings._showAll )
CheckMemoryLeak_ClassMembers();
}
//---------------------------------------------------------------------------

View File

@ -114,8 +114,8 @@ private:
TEST_CASE( func6 );
// TODO TEST_CASE( func7 );
TEST_CASE( class1 );
TEST_CASE( class2 );
// TODO TEST_CASE( class1 );
// TODO TEST_CASE( class2 );
TEST_CASE( throw1 );