From 52499ca8f82d4ac0d234bfcce0c8a30fd1a364c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 19 May 2011 19:41:18 +0200 Subject: [PATCH] Fixed #2790 (Incorrect allocation mismatch error) --- lib/checkmemoryleak.cpp | 3 +++ test/testmemleak.cpp | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/lib/checkmemoryleak.cpp b/lib/checkmemoryleak.cpp index ebe654bad..4a5664047 100644 --- a/lib/checkmemoryleak.cpp +++ b/lib/checkmemoryleak.cpp @@ -1047,6 +1047,9 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list