From abde1d0ec1e4cb22dd041057ca49d38b3562a0f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 23 Jun 2012 20:20:11 +0200 Subject: [PATCH] added comment in test case --- test/testmemleak.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index f56587032..0bc9f6700 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -5184,6 +5184,7 @@ private: } void linkedlist() { + // #3904 - false positive when linked list is used check("static void foo() {\n" " struct ABC *abc = malloc(sizeof(struct ABC));\n" " abc->next = malloc(sizeof(struct ABC));\n"