From 7037a3b4f6cf5e5bf63e1e0e175801179a0e2b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 25 Jan 2009 19:40:29 +0000 Subject: [PATCH] testmemleak: removed the test case that was added in [1105]. It has been moved to the TestTokenizer instead --- test/testmemleak.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index 84a0fbad4..07b6ded28 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -174,7 +174,6 @@ private: TEST_CASE(freefree1); TEST_CASE(freefree2); // TODO TEST_CASE(strcat_result_assignment); - // TODO TEST_CASE(complex_free); } @@ -1684,16 +1683,6 @@ private: "}"); ASSERT_EQUALS(std::string(""), errout.str()); } - - void complex_free() - { - check("void foo()\n" - "{\n" - "char *p = malloc(100);\n" - "free(((void*)p));\n" - "}"); - ASSERT_EQUALS(std::string(""), errout.str()); - } }; REGISTER_TEST(TestMemleak)