memory leaks: Minor fix to output correct severity

This commit is contained in:
Daniel Marjamäki 2009-02-02 06:04:48 +00:00
parent f66750c9f1
commit 460c29f6a2
1 changed files with 1 additions and 1 deletions

View File

@ -1495,7 +1495,7 @@ void CheckMemoryLeakClass::CheckMemoryLeak_ClassMembers_Variable(const std::vect
if (Alloc != No && Dealloc == No)
{
MemoryLeak(_tokenizer->tokens(), FullVariableName.str().c_str(), Alloc, false);
MemoryLeak(_tokenizer->tokens(), FullVariableName.str().c_str(), Alloc, true);
}
}