From 460c29f6a2d6ff57443934b74e59897a973b4624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 2 Feb 2009 06:04:48 +0000 Subject: [PATCH] memory leaks: Minor fix to output correct severity --- src/checkmemoryleak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkmemoryleak.cpp b/src/checkmemoryleak.cpp index a74d1655d..f84755fa2 100644 --- a/src/checkmemoryleak.cpp +++ b/src/checkmemoryleak.cpp @@ -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); } }