Testing: DeallocateTokens after each test

This commit is contained in:
Daniel Marjamäki 2008-11-03 07:54:59 +00:00
parent 375801f51e
commit de3c6f9c1b
7 changed files with 14 additions and 0 deletions

View File

@ -52,6 +52,8 @@ private:
// Check for memory leaks..
ShowAll = true;
CheckBufferOverrun();
DeallocateTokens();
}
void run()

View File

@ -57,6 +57,8 @@ private:
// Check for memory leaks..
ShowAll = true;
CheckCharVariable();
DeallocateTokens();
}
void array_index()

View File

@ -46,6 +46,8 @@ private:
// Check for memory leaks..
CheckConstructors();
DeallocateTokens();
}
void run()

View File

@ -51,6 +51,8 @@ private:
// Check for memory leaks..
ShowAll = true;
CheckUnsignedDivision();
DeallocateTokens();
}
void run()

View File

@ -49,6 +49,8 @@ private:
// Check for memory leaks..
ShowAll = false;
CheckMemoryLeak();
DeallocateTokens();
}
void run()

View File

@ -48,6 +48,8 @@ private:
// Check for unused variables..
CheckIncompleteStatement();
DeallocateTokens();
}
void run()

View File

@ -48,6 +48,8 @@ private:
// Check for unused variables..
CheckStructMemberUsage();
DeallocateTokens();
}
void run()