Testing: DeallocateTokens after each test
This commit is contained in:
parent
375801f51e
commit
de3c6f9c1b
|
@ -52,6 +52,8 @@ private:
|
|||
// Check for memory leaks..
|
||||
ShowAll = true;
|
||||
CheckBufferOverrun();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void run()
|
||||
|
|
|
@ -57,6 +57,8 @@ private:
|
|||
// Check for memory leaks..
|
||||
ShowAll = true;
|
||||
CheckCharVariable();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void array_index()
|
||||
|
|
|
@ -46,6 +46,8 @@ private:
|
|||
|
||||
// Check for memory leaks..
|
||||
CheckConstructors();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void run()
|
||||
|
|
|
@ -51,6 +51,8 @@ private:
|
|||
// Check for memory leaks..
|
||||
ShowAll = true;
|
||||
CheckUnsignedDivision();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void run()
|
||||
|
|
|
@ -49,6 +49,8 @@ private:
|
|||
// Check for memory leaks..
|
||||
ShowAll = false;
|
||||
CheckMemoryLeak();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void run()
|
||||
|
|
|
@ -48,6 +48,8 @@ private:
|
|||
|
||||
// Check for unused variables..
|
||||
CheckIncompleteStatement();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void run()
|
||||
|
|
|
@ -48,6 +48,8 @@ private:
|
|||
|
||||
// Check for unused variables..
|
||||
CheckStructMemberUsage();
|
||||
|
||||
DeallocateTokens();
|
||||
}
|
||||
|
||||
void run()
|
||||
|
|
Loading…
Reference in New Issue