memory leaks: Minor fix to output correct severity
This commit is contained in:
parent
f66750c9f1
commit
460c29f6a2
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue