Memory leak: Moved the class member checking to the "--all"
This commit is contained in:
parent
1f189f655d
commit
95c7e1a7d3
|
@ -1123,6 +1123,7 @@ void CheckMemoryLeakClass::CheckMemoryLeak()
|
|||
CheckMemoryLeak_InFunction();
|
||||
|
||||
// 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