testmemleak: removed the test case that was added in [1105]. It has been moved to the TestTokenizer instead

This commit is contained in:
Daniel Marjamäki 2009-01-25 19:40:29 +00:00
parent 4bb43e7e4d
commit 7037a3b4f6
1 changed files with 0 additions and 11 deletions

View File

@ -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)