Memory leak: Moved the class member checking to the "--all"
This commit is contained in:
parent
1f189f655d
commit
95c7e1a7d3
|
@ -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();
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue